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

When I install approvaltests with poetry add, approval_utilities is not installed as a required dependency #140

Open
jmasonlee opened this issue Apr 5, 2023 · 2 comments

Comments

@jmasonlee
Copy link
Contributor

No description provided.

@alepez
Copy link

alepez commented Apr 9, 2024

To give more context:

❯ python --version
Python 3.11.8

❯ poetry --version
Poetry (version 1.8.2)

❯ poetry new foobar
Created package foobar in foobar

❯ cd foobar

❯ poetry add approvaltests
Creating virtualenv foobar-GBYzWmta-py3.11 in /home/pez/.cache/pypoetry/virtualenvs
Using version ^11.2.0 for approvaltests

Updating dependencies
Resolving dependencies... (0.0s)

Because no versions of approvaltests match >11.2.0,<12.0.0
 and approvaltests (11.2.0) depends on approval-utilities (11.2.0), approvaltests (>=11.2.0,<12.0.0) requires approval-utilities (11.2.0).
So, because no versions of approval-utilities match 11.2.0
 and foobar depends on approvaltests (^11.2.0), version solving failed.

@alepez
Copy link

alepez commented Apr 9, 2024

When specifying the version to 11.1.3, it works as expected.

poetry add approvaltests@=11.1.3

so this issue seems to be affecting only the last version 11.2.0

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

No branches or pull requests

2 participants