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

@mattip mattip merged commit 7617182 into python-cffi:main Dec 1, 2025
37 checks passed
@mattip
Copy link
Contributor

mattip commented Dec 1, 2025

Thanks @tacaswell

@tacaswell tacaswell deleted the bld/dev_version_bump branch December 1, 2025 21:21
@tacaswell tacaswell restored the bld/dev_version_bump branch December 2, 2025 02:55
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