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

Fix incompatible requirements #71

Closed
wants to merge 2 commits into from

Conversation

radoering
Copy link
Contributor

Resolves: #70

For each pair of incompatible requirements, I assumed that the higher required numpy is the correct one. Thus, I added the inverted marker of this requirement to the marker of the other requirement. I repeated this process (and simplified the resulting markers if possible) until all conflicts detected by Poetry were resolved.

Of course, there are other options to eliminate the incompatible requirements, so someone with more expertise in this topic should check carefully if my changes make sense.

Not adding 3.12-dev because --only-binary installs not yet possible.
@h-vetinari h-vetinari force-pushed the fix-incompatible-requirements branch from 5496c13 to f393a4a Compare June 22, 2023 23:19
Comment on lines +26 to +27
numpy==1.16.0; python_version=='3.6' and platform_system=='AIX' and (platform_machine=='loongarch64' or platform_machine!='aarch64' and platform_python_implementation != 'PyPy')
numpy==1.16.0; python_version=='3.7' and platform_system=='AIX' and (platform_machine=='loongarch64' or platform_machine!='aarch64' and platform_python_implementation != 'PyPy')
Copy link
Member

Choose a reason for hiding this comment

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

I don't fully understand yet why this condition is necessary, but if you're mixing and and or, please add brackets, so we don't have to do operator precedence in our heads.

@h-vetinari
Copy link
Member

I have a more comprehensive fix in #74, which expands testing to ensure that even invalid combinations don't get more than one pin.

@rgommers rgommers closed this in #74 Aug 3, 2023
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.

incompatible requirements
2 participants