Skip to content

Conversation

@tacaswell
Copy link
Contributor

Otherwise when installing cryptography pip will try to downgrade cffi to the version on pypi from the development version.

Copy link
Contributor

@mattip mattip left a comment

Choose a reason for hiding this comment

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

This makes sense. I wonder if there could be a follow-up PR to somehow reduce the number of places the version is specified.


__version__ = "2.0.0.dev0"
__version__ = "2.0.1.dev0"
__version_info__ = (2, 0, 0, 'dev0')
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
__version_info__ = (2, 0, 0, 'dev0')
__version_info__ = (2, 0, 1, 'dev0')

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I ended up just doing it. I started to to tuple(__version__.split('.')) but then realized I would have to do the str -> int mapping in 3 of the 4 cases and went back to hard coding it.

@arigo
Copy link
Contributor

arigo commented Nov 3, 2025 via email

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.

3 participants