You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to spin up arsenal in python >= 3.12 results in an exception:
(arsenalweb) |02:47 PM|abandt@Aarons-MacBook-Pro:~/venvs/arsenalweb> pserve --reload conf/*.ini
Traceback (most recent call last):
File "/Users/abandt/venvs/arsenalweb/bin/pserve", line 5, in <module>
from pyramid.scripts.pserve import main
File "/Users/abandt/venvs/arsenalweb/lib/python3.13/site-packages/pyramid/scripts/pserve.py", line 21, in <module>
from pyramid.path import AssetResolver
File "/Users/abandt/venvs/arsenalweb/lib/python3.13/site-packages/pyramid/path.py", line 3, in <module>
import pkg_resources
File "/Users/abandt/venvs/arsenalweb/lib/python3.13/site-packages/pkg_resources/__init__.py", line 90, in <module>
import packaging.markers
File "/Users/abandt/venvs/arsenalweb/lib/python3.13/site-packages/packaging/markers.py", line 25, in <module>
from .specifiers import InvalidSpecifier, Specifier
File "/Users/abandt/venvs/arsenalweb/lib/python3.13/site-packages/packaging/specifiers.py", line 14, in <module>
from .utils import canonicalize_version
File "/Users/abandt/venvs/arsenalweb/lib/python3.13/site-packages/packaging/utils.py", line 9, in <module>
from .tags import Tag, parse_tag
File "/Users/abandt/venvs/arsenalweb/lib/python3.13/site-packages/packaging/tags.py", line 7, in <module>
import distutils.util
ModuleNotFoundError: No module named 'distutils'
This is due to the following:
gh-95299: Do not pre-install setuptools in virtual environments created with venv. This means that distutils, setuptools, pkg_resources, and easy_install will no longer available by default; to access these run pip install setuptools in the activated virtual environment.
Attempting to spin up arsenal in python >= 3.12 results in an exception:
This is due to the following:
https://docs.python.org/3.12/whatsnew/3.12.html
Packages will likely need to be updated to support python >= 3.12.
AC
The text was updated successfully, but these errors were encountered: