Skip to content

Commit

Permalink
Restrict Python to 3.11.z in pyproject.toml
Browse files Browse the repository at this point in the history
Pin Python to version 3.11 because the greenlet 2.0.2 module is not
building on Python 3.12.

For example, in Fedora 39 you have to install Python 3.11 with

sudo dnf install python3.11-devel

and select this version in poetry with

poetry env use python3.11
  • Loading branch information
ruda committed Nov 16, 2023
1 parent a715664 commit cef9d32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ A GPL-licensed Python library that facilitates functional testing of quipucords_
Installation
^^^^^^^^^^^^

Camayoc supports Python 3.11 and above. It uses `Poetry <https://python-poetry.org/>`_
Camayoc supports Python 3.11. It uses `Poetry <https://python-poetry.org/>`_
for dependency and virtual environment management. See Poetry documentation for
installation instructions - one of the easier paths is to install it through
`pipx <https://pypa.github.io/pipx/>`_ , which you can get from your distribution.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]

[tool.poetry.dependencies]
python = "^3.11"
python = "~3.11"
attrs = "^23.1.0"
dynaconf = "^3.2.4"
factory_boy = "^3.2.1"
Expand Down

0 comments on commit cef9d32

Please sign in to comment.