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

Update python version and matplotlib version #66

Merged
merged 7 commits into from
Dec 14, 2023
Merged

Conversation

rnmitchell
Copy link
Contributor

Updating the Matplotlib version to >=3.8 (which requires update to Python 3.10), removes the pkg_resources Warning message.

@rnmitchell
Copy link
Contributor Author

Well I thought I was changing the python versions for the CI build (in the cibuild.yml file) but it doesn't look like it worked? What am I missing?

@standage
Copy link
Member

What am I missing?

Data type. Version 3.10 is the same as 3.1 if it's treated as a floating point number. If you quote it, it becomes a string, and then "3.10" is handled correctly.

@standage standage mentioned this pull request Dec 13, 2023
@@ -9,7 +9,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.10", "3.11", "3.12"]
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure Python 3.12 is ready for prime time. Pretty sure that failure has to do with versioneer.

Copy link
Member

Choose a reason for hiding this comment

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

But wait!

Copy link
Member

Choose a reason for hiding this comment

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

Looks like the bug has already been fixed in versioneer. So maybe instead of dropping 3.12 from the CI build matrix, I'll try updating it using these instructions.

Comment on lines 27 to 29

from . import _version
__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.

Whoops, this got duplicated. Lemme fix that.

@standage
Copy link
Member

Yep, the 3.12 build just failed due to pkg_resources.

@rnmitchell
Copy link
Contributor Author

Merge the other PR!! Quick!!

@standage
Copy link
Member

lol yep

Just a couple more comments

@standage standage merged commit bbccc6b into master Dec 14, 2023
2 checks passed
@standage standage deleted the matplotlib_version branch December 14, 2023 15:36
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