Can't install Nettacker if Python interpreter is 3.13.1
Please describe the issue or question and share your OS and Python version.
OS: Fedora
OS Version: 41
Python Version: 3.13.1
I get this error after running pipx install nettacker (as regular user)
Some possibly relevant errors from pip install: ERROR: Ignored the following versions that require a different python version: 0.3.1a10 Requires-Python >=3.9,<3.13; 0.3.1a11 Requires-Python >=3.9,<3.13; 0.3.1a12 Requires-Python >=3.9,<3.13; 0.3.1a13 Requires-Python >=3.9,<3.13; 0.3.1a15 Requires-Python >=3.9,<3.13; 0.3.1a16 Requires-Python >=3.9,<3.13; 0.3.1a17 Requires-Python >=3.9,<3.13; 0.3.1a2 Requires-Python >=3.9,<3.13; 0.3.1a3 Requires-Python >=3.9,<3.13; 0.3.1a4 Requires-Python >=3.9,<3.13; 0.3.1a5 Requires-Python >=3.9,<3.13; 0.3.1a6 Requires-Python >=3.9,<3.13; 0.3.1a7 Requires-Python >=3.9,<3.13; 0.3.1a8 Requires-Python >=3.9,<3.13; 0.3.1a9 Requires-Python >=3.9,<3.13; 0.4.0 Requires-Python <3.13,>=3.9 ERROR: Could not find a version that satisfies the requirement nettacker (from versions: none) ERROR: No matching distribution found for nettacker
Hi @q2dg it is a known issue - Nettacker is currently not compatible with Python 3.13
Please use an older version of Python e.g. 3.12.6 or 3.11.11 (you can run several versions. of Python in parallel using something like pyenv) or use the Docker version.
Hi, Try to run it in a virtual environment with python 3.12 using pyenv. Works perfectly.
Hi, I would like to help fix this issue.
Hi @zekeyeager-tech - how exactly do you propose to fix this issue? Do you have the understanding of the differences and breaking changes between Python 3.11-3.12 and 3.13 which are impacting Nettacker and what are your proposed ways to resolve these challenges?
Hi, I would like to help fix this issue.
Hi @zekeyeager-tech - Virtual environments for running Python applications are the cleanest solution. You can run different versions of Python based on the requirements of each application, without compromising the stability of your system.
Hi @zekeyeager-tech - how exactly do you propose to fix this issue? Do you have the understanding of the differences and breaking changes between Python 3.11-3.12 and 3.13 which are impacting Nettacker and what are your proposed ways to resolve these challenges?
The issues with Nettacker in Python 3.13 may arise from breaking changes in locals() behavior and the removal of deprecated modules. Notably, the "pyproject.toml" specifies [tool.poetry.dependencies] python = "^3.9, <3.13", which indicates that it hasn't accounted for Python 3.13 compatibility.
I suggest reviewing and updating the dependencies in the "pyproject.toml" file to ensure they work with Python 3.13.
Hi everyone, I’ve addressed the Python 3.13 compatibility issues and submitted a fix in PR #1055. The necessary updates, including changes to dependencies in pyproject.toml, have been implemented. Let me know if there’s anything else that needs adjustment. Looking forward to your feedback!
Hi everyone, I’ve addressed the Python 3.13 compatibility issues and submitted a fix in PR #1055. The necessary updates, including changes to dependencies in pyproject.toml, have been implemented. Let me know if there’s anything else that needs adjustment. Looking forward to your feedback!
Hi @gitbibekmishra - how did you change the dependencies in pyproject.toml? I did notice the issue, but fell into an error while testing it.
Hi @zekeyeager-tech, thanks for checking it out! I updated the dependencies in pyproject.toml to ensure compatibility with Python 3.13. Could you share the specific error you encountered while testing? I’d be happy to help debug and resolve it.