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 versioneer for python3.12 #123

Merged
merged 3 commits into from
Apr 29, 2024
Merged

fix versioneer for python3.12 #123

merged 3 commits into from
Apr 29, 2024

Conversation

pbsds
Copy link
Contributor

@pbsds pbsds commented Apr 17, 2024

tested building a wheel on python312 and python311

Same fix as in shaypal5/strct#4:

curl -L https://github.com/shaypal5/strct/pull/4.patch | git am

preferably you'd vendor a newer versioneer or switch to pyproject.toml

@jacobtomlinson
Copy link
Member

Appreciate the fix here! I think it would be better to upgrade versioneer though instead of patching the specific issue.

I ran the following commands and pushed a new commit:

pip install --upgrade versioneer
versioneer install

Comment on lines +1 to +5
from . import _version
from .core import initialize, send_close_signal
from .exceptions import WorldTooSmallException

__version__ = get_versions()["version"]
del get_versions
__version__ = _version.get_versions()["version"]
Copy link
Member

Choose a reason for hiding this comment

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

I had to massage this a little as there was some duplication.

@jacobtomlinson jacobtomlinson merged commit e9a41ec into dask:main Apr 29, 2024
6 of 7 checks passed
@kmpaul
Copy link
Collaborator

kmpaul commented Apr 29, 2024

Thanks, @jacobtomlinson @pbsds!

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