Skip to content
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

pipenv's tests fail on Python 3.11 release candidate #5252

Closed
cclauss opened this issue Aug 14, 2022 · 7 comments
Closed

pipenv's tests fail on Python 3.11 release candidate #5252

cclauss opened this issue Aug 14, 2022 · 7 comments
Assignees
Labels
Category: Tests Relates to tests. Type: Vendored Dependencies This issue affects vendored dependencies within pipenv.

Comments

@cclauss
Copy link
Contributor

cclauss commented Aug 14, 2022

See the Python 3.11 test results on pull request #5245 where Ubuntu and Windows fail 2 tests and macOS fails 4 tests.

Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.

Check the diagnose documentation for common issues before posting! We may close your issue if it is very similar to one of them. Please be considerate, or be on your way.

Make sure to mention your debugging experience if the documented solution failed.

Issue description

Describe the issue briefly here.

Expected result

Describe what you expected.

Actual result

When possible, provide the verbose output (--verbose), especially for locking and dependencies resolving issues.

Steps to replicate

Provide the steps to replicate (which usually at least includes the commands and the Pipfile).


Please run $ pipenv --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting.

If you're on macOS, run the following:

$ pipenv --support | pbcopy

If you're on Windows, run the following:

> pipenv --support | clip

If you're on Linux, run the following:

$ pipenv --support | xclip
@matteius matteius added the Category: Tests Relates to tests. label Aug 14, 2022
@oz123
Copy link
Contributor

oz123 commented Aug 17, 2022

The Mac OS X test fail recently on all versions.
As to Python3.11:
The real issue is here:


  File "/home/runner/work/pipenv/pipenv/pipenv/vendor/pipdeptree.py", line 111, in __init__
    self.project_name = obj.project_name
                        ^^^^^^^^^^^^^^^^
AttributeError: 'PathDistribution' object has no attribute 'project_name'

This might be solved by updating the pideptree version we use.

@oz123
Copy link
Contributor

oz123 commented Aug 17, 2022

There is already a WIP to fix it:

tox-dev/pipdeptree#169

@dqkqd
Copy link
Contributor

dqkqd commented Sep 6, 2022

This should be fixed with new version of pipdeptree. https://github.com/tox-dev/pipdeptree/blob/main/CHANGES.md#230

@oz123
Copy link
Contributor

oz123 commented Sep 6, 2022

Thanks, I'll submit a PR to bump the vendored version later this week.

@oz123 oz123 self-assigned this Sep 7, 2022
@oz123 oz123 added the Type: Vendored Dependencies This issue affects vendored dependencies within pipenv. label Sep 7, 2022
@oz123
Copy link
Contributor

oz123 commented Sep 8, 2022

See #5343

@Wiznik1002
Copy link

Pipenv not working on python 3.11.4 ubuntu

@matteius
Copy link
Member

@Wiznik1002 That is not helpful -- please open a new issue report.

@pypa pypa locked as resolved and limited conversation to collaborators Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Category: Tests Relates to tests. Type: Vendored Dependencies This issue affects vendored dependencies within pipenv.
Projects
None yet
Development

No branches or pull requests

5 participants