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
When running the tests with Python 3.11 and pip 22.1 or greater an AttributeError is thrown as shown below. It has something to do with https://pip.pypa.io/en/stable/news/#id64
AttributeError: 'PathDistribution' object has no attribute 'project_name'
/PycharmProjects/django-extensions/venv4/lib/python3.11/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
Traceback (most recent call last):
File "/PycharmProjects/django-extensions/manage.py", line 13, in <module>
execute_from_command_line(sys.argv)
File "/PycharmProjects/django-extensions/venv4/lib/python3.11/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
utility.execute()
File "/PycharmProjects/django-extensions/venv4/lib/python3.11/site-packages/django/core/management/__init__.py", line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/PycharmProjects/django-extensions/venv4/lib/python3.11/site-packages/django/core/management/base.py", line 402, in run_from_argv
self.execute(*args, **cmd_options)
File "/PycharmProjects/django-extensions/venv4/lib/python3.11/site-packages/django/core/management/base.py", line 448, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/PycharmProjects/django-extensions/django_extensions/management/utils.py", line 62, in inner
ret = func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/PycharmProjects/django-extensions/django_extensions/management/commands/pipchecker.py", line 141, in handle
self.check_pypi()
File "/PycharmProjects/django-extensions/django_extensions/management/commands/pipchecker.py", line 167, in check_pypi
name = dist.project_name
^^^^^^^^^^^^^^^^^
AttributeError: 'PathDistribution' object has no attribute 'project_name'
The text was updated successfully, but these errors were encountered:
When running the tests with Python 3.11 and pip 22.1 or greater an AttributeError is thrown as shown below. It has something to do with https://pip.pypa.io/en/stable/news/#id64
The text was updated successfully, but these errors were encountered: