8000 Can't install Nettacker if Python interpreter is 3.13.1 · Issue #986 · OWASP/Nettacker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Can't install Nettacker if Python interpreter is 3.13.1 #986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
q2dg opened this issue Dec 30, 2024 8000 · 9 comments
Open

Can't install Nettacker if Python interpreter is 3.13.1 #986

q2dg opened this issue Dec 30, 2024 · 9 comments

Comments

@q2dg
Copy link
q2dg commented Dec 30, 2024

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

@securestep9
Copy link
Collaborator

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.

@saltasatelites
Copy link
saltasatelites commented Feb 13, 2025

Hi,
Try to run it in a virtual environment with python 3.12 using pyenv. Works perfectly.

@zekeyeager-tech
Copy link

Hi, I would like to help fix this issue.

@securestep9
Copy link
Collaborator
securestep9 commented Apr 1, 2025

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?

@saltasatelites
Copy link

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.

gitbibekmishra added a commit to gitbibekmishra/Nettacker that referenced this issue Apr 2, 2025
@gitbibekmishra gitbibekmishra mentioned this issue Apr 2, 2025
4 tasks
@zekeyeager-tech
Copy link

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.

@gitbibekmishra
Copy link

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!

@zekeyeager-tech
Copy link
zekeyeager-tech commented Apr 2, 2025

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.

@gitbibekmishra
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
0