You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an existing project is converted, keys should not be added to [tool.briefcase] when they already exist in [project]. For instance, if version is already specified in [project], do not add version = "0.0.1" to [tool.briefcase]. This should be considered for all PEP-621 pyproject.toml keys.
Describe the solution you'd like
Omit [tool.briefcase] keys from pyproject.toml that are already represented in [project].
Describe alternatives you've considered
Manually remove overriding keys from [tool.briefcase] post-conversion.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Conceptually a good idea; but could be difficult to implement; the mechanism we're using to append pyproject.toml is (AFAIR) concatenation, rather than parsing and processing, so removing duplicate keys requires some pre-processing or a formatting-sensitive parser.
It may be better to consider this part of a broader migration to PEP621 format, so that a version field in [tool.briefcase] is no longer required or preferred.
What is the problem or limitation you are having?
When an existing project is converted, keys should not be added to
[tool.briefcase]
when they already exist in[project]
. For instance, ifversion
is already specified in[project]
, do not addversion = "0.0.1"
to[tool.briefcase]
. This should be considered for all PEP-621pyproject.toml
keys.Describe the solution you'd like
Omit
[tool.briefcase]
keys frompyproject.toml
that are already represented in[project]
.Describe alternatives you've considered
Manually remove overriding keys from
[tool.briefcase]
post-conversion.Additional context
No response
The text was updated successfully, but these errors were encountered: