Skip to content

Commit

Permalink
chore(backport): Update services and docs to Python 3.12 as default (#…
Browse files Browse the repository at this point in the history
…2504)

* Backport parts of PR #2461
  • Loading branch information
matthewfeickert authored May 30, 2024
1 parent 99c28fb commit 16840f6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion binder/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.11
python-3.12
1 change: 1 addition & 0 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"Python 3 Only",
"Python 3.10",
"Python 3.11",
"Python 3.12",
"Python 3.7",
"Python 3.8",
"Python 3.9",
Expand Down
6 changes: 3 additions & 3 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ contrib module, or notebooks, and so instead to test the core codebase a develop

.. code-block:: console
nox --session tests --python 3.11
nox --session tests --python 3.12
Contrib module matplotlib image tests
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -107,7 +107,7 @@ To run the visualization tests for the ``contrib`` module with the ``pytest-mpl`

.. code-block:: console
nox --session tests --python 3.11 -- contrib
nox --session tests --python 3.12 -- contrib
If the image files need to be regenerated, run the tests with the
``--mpl-generate-path=tests/contrib/baseline`` option or just run
Expand Down Expand Up @@ -141,7 +141,7 @@ or pass ``coverage`` as a positional argument to the ``nox`` ``tests`` session

.. code-block:: console
nox --session tests --python 3.11 -- coverage
nox --session tests --python 3.12 -- coverage
Coverage Report
^^^^^^^^^^^^^^^
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers = [
"Environment :: WebAssembly :: Emscripten",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
Expand Down

0 comments on commit 16840f6

Please sign in to comment.