Skip to content

Commit

Permalink
Added support for Python 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
owo committed Aug 23, 2024
1 parent c20aaf5 commit 08a3b98
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Naming Conventions
Python 2 and 3 Support
----------------------

Ideally, CAMeL Tools should be able to run on Python 3.8 - 3.11.
Ideally, CAMeL Tools should be able to run on Python 3.8 - 3.12.
`Here's a nice cheat-sheet <http://python-future.org/compatible_idioms.html>`_ of
how to do that.

Expand All @@ -135,10 +135,11 @@ versions used for testing by running the following commands:
pyenv install 3.9.19
pyenv install 3.10.14
pyenv install 3.11.9
pyenv install 3.12.4
# This generates a .python-version file that helps pyenv automatically determine
# which python versions are associated with the application.
pyenv local 3.8.19 3.9.19 3.10.14 3.11.9
pyenv local 3.8.19 3.9.19 3.10.14 3.11.9 3.12.4
You also need to install tox:

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ at `New York University Abu Dhabi <http://nyuad.nyu.edu/>`_.
Installation
------------

You will need Python 3.8 - 3.11 (64-bit) as well as
You will need Python 3.8 - 3.12 (64-bit) as well as
`the Rust compiler <https://www.rust-lang.org/learn/get-started>`_ installed.

Linux/macOS
Expand Down
2 changes: 1 addition & 1 deletion docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Getting Started
Installation
------------

You will need Python 3.8 - 3.11 (64-bit) as well as
You will need Python 3.8 - 3.12 (64-bit) as well as
`the Rust compiler <https://www.rust-lang.org/learn/get-started>`_ installed.

Linux/macOS
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Information Analysis',
Expand Down Expand Up @@ -140,5 +141,5 @@
long_description=LONG_DESCRIPTION,
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
python_requires='>=3.8.0, <3.12'
python_requires='>=3.8.0, <3.13'
)

0 comments on commit 08a3b98

Please sign in to comment.