Skip to content

Commit

Permalink
ENH: Add formal Python 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
BvB93 committed Apr 4, 2023
1 parent 5af1414 commit 57b853c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
version: ["3.7", "3.8", "3.9", "3.10"]
version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
special: [""]
include:
- os: ubuntu-latest
special: '; pre-release'
version: '3.10'
version: '3.11'
- os: ubuntu-latest
special: '; slow'
version: '3.10'
version: '3.11'
env:
CP2K_DATA_DIR: "/home/runner/work/nano-CAT/nano-CAT/cp2k/data"
MATCH: "/home/runner/work/nano-CAT/nano-CAT/MATCH/MATCH"
Expand Down Expand Up @@ -115,10 +115,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.10 on ubuntu-latest
- name: Set up Python on ubuntu-latest
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.*"

- name: Install linters
run: pip install "flake8>=3.8.0"
Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
:target: https://docs.python.org/3.9/
.. image:: https://img.shields.io/badge/python-3.10-blue.svg
:target: https://docs.python.org/3.10/

.. image:: https://img.shields.io/badge/python-3.10-blue.svg
:target: https://docs.python.org/3.11/

########
Nano-CAT
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
'python-3-8',
'python-3-9',
'python-3-10',
'python-3-11',
'automation',
'scientific-workflows'
],
Expand All @@ -58,6 +59,7 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Typing :: Typed',
],
test_suite='tests',
Expand Down

0 comments on commit 57b853c

Please sign in to comment.