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 dependencies specification #105

Closed
wants to merge 1 commit into from

Conversation

antoine-lizee
Copy link
Contributor

The current dependency section doesn't work as expected and actually breaks dependencies for users of poetry.

See https://python-poetry.org/docs/dependency-specification/#version-constraints

Notably for httpx: any user who wants to use a package that requires a recent version of httpx will be left in a hell of "version solving failed" because the semver used actually limits to <=0.26.0 (instead of the 1.0.0 which was the intent but poorly specificied).

Note: I kept ^ specification when relevant, but we might want to use >= , < everywhere instead to be more consistent.

The current dependency section doesn't work as expected and actually breaks dependencies for users of poetry.

See https://python-poetry.org/docs/dependency-specification/#version-constraints

Notably for `httpx`: any user who wants to use a package that requires a recent version of httpx will be left in a hell of "version solving failed" because the semver used actually limits to `<=0.26.0` (instead of the 1.0.0 which was the intent but poorly specificied).
@antoine-lizee
Copy link
Contributor Author

(note: if ok, we need to regenerate a .lock)

@jean-malo
Copy link
Contributor

thanks for the report @antoine-lizee this is fixed in the latest release (version 0.4.1)

@jean-malo jean-malo closed this Jun 19, 2024
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.

2 participants