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

Adding py3.12 #83

Merged
merged 7 commits into from
Mar 31, 2024
Merged

Adding py3.12 #83

merged 7 commits into from
Mar 31, 2024

Conversation

ml31415
Copy link
Owner

@ml31415 ml31415 commented Oct 17, 2023

Updades for py.3.12. Looks like the mamba xarray-tests environment isn't set up yet.

  /home/runner/micromamba-bin/micromamba create -y -r /home/runner/micromamba -f ci/environment.yml -n xarray-tests python=3.12 conda --log-level warning --rc-file /home/runner/micromamba-bin/.condarc
  error    libmamba Could not solve for environment specs
      The following packages are incompatible
      ├─ conda is installable with the potential options
      │  ├─ conda [22.11.1|22.9.0|...|4.14.0] would require
      │  │  └─ python_abi 3.10.* *_cp310, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|...|23.9.0] would require
      │  │  └─ python_abi 3.11.* *_cp311, which can be installed;
      │  ├─ conda [22.9.0|4.10.0|...|4.9.2] would require
      │  │  └─ python_abi 3.7.* *_cp37m, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|4.14.0] would require
      │  │  └─ python_abi 3.8 *_pypy38_pp73, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|...|4.9.2] would require
      │  │  └─ python_abi 3.8.* *_cp38, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|4.14.0] would require
      │  │  └─ python_abi 3.9 *_pypy39_pp73, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|...|4.9.2] would require
      │  │  └─ python_abi 3.9.* *_cp39, which can be installed;
      │  ├─ conda [4.1.11|4.1.12|...|4.8.2] would require
      │  │  └─ python [2.7* |>=2.7,<2.8.0a0 ], which can be installed;
      │  ├─ conda [4.1.11|4.1.12|4.2.13] would require
      │  │  └─ python 3.4* , which can be installed;
      │  ├─ conda [4.1.11|4.1.12|...|4.5.9] would require
      │  │  └─ python [3.5* |>=3.5,<3.6.0a0 ], which can be installed;
      │  ├─ conda [4.10.0|4.10.1|...|4.9.2] would require
      │  │  └─ python_abi 3.6.* *_cp36m, which can be installed;
      │  ├─ conda [4.10.0|4.10.1|...|4.9.2] would require
      │  │  └─ python_abi 3.6 *_pypy36_pp73, which can be installed;
      │  ├─ conda [4.10.1|4.10.2|...|4.13.0] would require
      │  │  └─ python_abi 3.7 *_pypy37_pp73, which can be installed;
      │  ├─ conda [4.2.13|4.3.21|...|4.5.1] would require
      │  │  └─ python 3.6* , which can be installed;
      │  ├─ conda [4.5.10|4.5.11|...|4.8.2] would require
      │  │  └─ python >=3.6,<3.7.0a0 , which can be installed;
      │  ├─ conda [4.5.11|4.5.12|...|4.8.2] would require
      │  │  └─ python >=3.7,<3.8.0a0 , which can be installed;
      │  ├─ conda [4.7.12|4.8.0|4.8.2] would require
      │  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
      │  ├─ conda 4.8.3 would require
      │  │  └─ python_abi 2.7.* *_cp27mu, which can be installed;
      │  ├─ conda [23.1.0|23.3.0|...|23.7.3] would require
      │  │  └─ pypy3.8 >=7.3.11 , which can be installed;
      │  ├─ conda [23.1.0|23.3.0|...|23.7.3] would require
      │  │  └─ pypy3.9 >=7.3.11 , which can be installed;
      │  ├─ conda 23.7.4 would require
      │  │  └─ pypy3.9 >=7.3.12 , which can be installed;
      │  └─ conda 23.9.0 would require
      │     └─ pypy3.9 >=7.3.13 , which can be installed;
      └─ python 3.12**  is not installable because there are no viable options
         ├─ python 3.12.0 would require
         │  └─ python_abi 3.12.* *_cp312, which conflicts with any installable versions previously reported;
         └─ python 3.12.0rc3 would require
            └─ _python_rc, which does not exist (perhaps a missing channel).
  critical libmamba Could not solve for environment specs
  Error: The process '/home/runner/micromamba-bin/micromamba' failed with exit code 1

@dcherian any ideas?

.github/workflows/ci.yaml Outdated Show resolved Hide resolved
@dcherian
Copy link
Collaborator

ci/environment.yml has numba so it won't solve on 3.12 yet. I think that's at least one issue. Try commenting out numba in environment.yml and see if you get the same error

Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
@ml31415
Copy link
Owner Author

ml31415 commented Oct 17, 2023

numba should be ready for 3.12 soon. Guess we can wait for that. numba/numba#9197

@dcherian dcherian closed this Mar 31, 2024
@dcherian dcherian reopened this Mar 31, 2024
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
@ml31415 ml31415 marked this pull request as ready for review March 31, 2024 05:31
@ml31415 ml31415 merged commit cf42fd5 into master Mar 31, 2024
4 checks passed
@dcherian dcherian deleted the py312 branch March 31, 2024 13:26
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