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

Remove dontPreferSetupPy & don't remove pyproject.toml #513

Merged
merged 7 commits into from
Jan 18, 2022

Conversation

adisbladis
Copy link
Member

@adisbladis adisbladis commented Jan 17, 2022

It seems like this bandaid to avoid some build-system related overrides causes more problems than it fixes.
Let's just deal with reality up-front and hope that python-poetry/poetry#2789 will be fixed at some point.

Additionally this results in much better error messages since you will be told exactly what input is missing.
With the faulty version detection you are simply told "the version is none".

@adisbladis adisbladis force-pushed the no-dontprefersetuppy branch 2 times, most recently from 6f89dad to 7c141b7 Compare January 18, 2022 00:16
@adisbladis adisbladis changed the title Remove dontPreferSetupPy & don't remove pyproject.toml ever Remove dontPreferSetupPy & don't remove pyproject.toml Jan 18, 2022
@adisbladis
Copy link
Member Author

This is somewhat related to #466 which I think I have changed my opinion on and will tackle soon.

@adisbladis adisbladis force-pushed the no-dontprefersetuppy branch from 2cadca3 to 5485265 Compare January 18, 2022 02:06
It seems like this bandaid to avoid some build-system related overrides causes more problems than it fixes.
Let's just deal with reality up-front and hope that python-poetry/poetry#2789 will be fixed at some point.
@adisbladis adisbladis force-pushed the no-dontprefersetuppy branch 3 times, most recently from f08dcc4 to d263731 Compare January 18, 2022 08:21
@adisbladis adisbladis force-pushed the no-dontprefersetuppy branch from d263731 to ff4c1b9 Compare January 18, 2022 09:06
These packages uses poetry2nix and we can use them for regression testing.
@adisbladis adisbladis merged commit 1c4a1a2 into master Jan 18, 2022
@adisbladis adisbladis deleted the no-dontprefersetuppy branch May 13, 2022 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant