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

Refactoring for Python 3.12 #206

Merged
merged 17 commits into from
Jul 1, 2024
Merged

Refactoring for Python 3.12 #206

merged 17 commits into from
Jul 1, 2024

Conversation

roxyboy
Copy link
Member

@roxyboy roxyboy commented Jul 1, 2024

Refactoring due to deprecations in numpy and pandas.

@cgahr
Copy link

cgahr commented Jul 1, 2024

I think you have to update the versions of the github actions?

@roxyboy
Copy link
Member Author

roxyboy commented Jul 1, 2024

@cgahr The tests all pass for Python versions 3.8-3.11 but doesn't for 3.12 due to a deprecation in pkgutil... We can drop the Github workflow for Python 3.12 for the time being? I'm open to suggestions.

@roxyboy
Copy link
Member Author

roxyboy commented Jul 1, 2024

@xgcm/xrft-dev @jbusecke Are others aware of a fix to make the Github workflow work for Python 3.12? The deprecation in pkgutil breaks it.

@cgahr
Copy link

cgahr commented Jul 1, 2024

I think adding - pip just before pip: in thr environment.yml might force conda to install a newer pip version, solving the issue.

@cgahr
Copy link

cgahr commented Jul 1, 2024

Ahh nevermind, this shouldn't make a difference, my bad.

@roxyboy roxyboy merged commit 1a9b8af into xgcm:master Jul 1, 2024
7 checks passed
@roxyboy
Copy link
Member Author

roxyboy commented Jul 1, 2024

@cgahr Managed to sort out the workflow for Python 3.12 :) Can you give this version a try for your PRs?

@cgahr
Copy link

cgahr commented Jul 2, 2024

All tests succeed for me!

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