Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handling of build backend without editable support and add --exit-and-dump-after flag #2597

Merged
merged 1 commit into from Dec 6, 2022

Conversation

gaborbernat
Copy link
Member

@gaborbernat gaborbernat commented Dec 6, 2022

Resolves #2567.
Resolves #2595.

…xit-and-dump-after flag

Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
if spec.implementation is not None:
if spec.implementation.lower() in INTERPRETER_SHORT_NAMES and env_name is not None:
candidates.append(factor)
impl = spec.implementation or "python"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gaborbernat This change has the unintended (I presume) effect of interpreting a numeric factor (e.g. 2105) as a candidate base python, breaking previously valid environment names (e.g. py37-foo-2105) by raising ValueError: conflicting factors py37, 2105 in py37-foo-2105.
Example GitHub workflow build: https://github.com/galaxyproject/planemo/actions/runs/3654111042/jobs/6174245903 for tox.ini https://github.com/galaxyproject/planemo/blob/nsoranzo-patch-1/tox.ini

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That error is a bug 🤣 please fill an issue for it.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running tox v4 rc2 leaks Python processes Backends without build_editable fail to run
2 participants