Skip to content

Commit

Permalink
Merge pull request #2486 from cta-observatory/python312
Browse files Browse the repository at this point in the history
Test on python 3.12
  • Loading branch information
maxnoe authored Feb 21, 2024
2 parents 909dd03 + e1c7713 commit daf12f0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,23 @@ jobs:

- os: ubuntu-latest
python-version: "3.10"
install-method: mamba
extra-args: ["codecov"]
install-method: pip

- os: ubuntu-latest
python-version: "3.11"
install-method: mamba

- os: ubuntu-latest
python-version: "3.11"
python-version: "3.12"
install-method: mamba
extra-args: ["codecov"]

- os: ubuntu-latest
python-version: "3.12"
install-method: pip

- os: macos-latest
python-version: "3.11"
python-version: "3.12"
install-method: mamba

- os: macos-latest
Expand Down Expand Up @@ -116,10 +120,10 @@ jobs:
PYTHON_VERSION: ${{ matrix.python-version }}
run: |
python --version | grep "Python ${PYTHON_VERSION}"
pip install pytest-cov pytest-xdist 'coverage!=6.3.0'
pip install -e .[all]
pip install -e .[tests]
pip install ./test_plugin
pip freeze
pip list
- name: ctapipe-info
if: contains(github.event.pull_request.labels.*.name, 'documentation-only') == false
Expand Down
1 change: 1 addition & 0 deletions docs/changes/2486.maintenance.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support and test on python 3.12.
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ install_requires=
[options.extras_require]
tests =
pytest >= 7.0
pandas ~=1.0
pytest-cov
pytest-xdist
pandas
tomli
pytest_astropy_header
h5py
Expand Down

0 comments on commit daf12f0

Please sign in to comment.