-
Notifications
You must be signed in to change notification settings - Fork 308
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
'Wheel' object has no attribute 'dynamic' #905
Comments
I was able to upload by moving to a venv from a previous upload. python3 -m twine --version
twine version 3.8.0 (pkginfo: 1.8.2, readme-renderer: 29.0, requests: 2.26.0, requests-toolbelt: 0.9.1, urllib3: 1.26.6, tqdm: 4.62.0,
importlib-metadata: 4.6.3, keyring: 23.0.1, rfc3986: 1.5.0, colorama: 0.4.4) Does the bug not exist in 3.8.0? Ray |
I cloned https://github.com/pyuvm/pyuvm, and was able to run
I was able to reproduce the exception by downgrading pkginfo and running
pkginfo was upgraded in #833 (released in 3.7.0) to support the |
Thanks! Is pkginfo in Twine's dependencies? Seems it could be. |
Yep: Lines 37 to 38 in 8f5e5d6
|
I wonder why it didn’t upgrade when I upgraded twine.
…On Mon, Jun 6, 2022 at 8:16 AM Brian Rutledge ***@***.***> wrote:
Is pkginfo in Twine's dependencies? Seems it could be.
Yep:
https://github.com/pypa/twine/blob/8f5e5d6d42d582ef3ea6ef07da277e0cabd22fd2/setup.cfg#L37-L38
—
Reply to this email directly, view it on GitHub
<#905 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYFXWRAAFYNQYWXA2WNG7TVNXTZHANCNFSM5X3YGCZA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
That's likely something you could discern with your package manager. |
@raysalemi From the traceback, it looks like Twine 4.0.1 was installed in a conda environment, possibly a global one? I don't have a specific example, but I recall seeing odd behavior in other issues where installations of the same package would cause |
I got the same issue wtih twine 3.8.0 on Alpine Linux:
Trying to upload cdist 7.0.0:
Attached are the release files And my .pypirc:
I am on Python 3.10.5. I tried the system twine as well as freshly installed in a venv:
Both have the same error |
It seems to work in pipx, not in a python venv. I am puzzled. |
You say they both have the same error. Do you mean the exact same traceback including paths? If so it's because you're not using the version installed in the virtual environment, your using the one installed globally. In general, I strongly advise against global installations because it seems you have versions of dependencies that are incompatible but which your installation method did not accommodate for. |
Your Environment
Thank you for taking the time to report an issue.
To more efficiently resolve this issue, we'd like to know some basic information about your system and setup.
macOS 12.4
pip install --upgrade twine
https://pypi.org/project/pyuvm/
If you're having issues uploading a specific package, you must include a copy of the following:
PKG-INFO
PKG-INFO.zip
.pypirc
file (REMOVE ALL USERNAMES & PASSWORDS BEFORE UPLOADING)I don't have a
.pypirc
file, or I don't know where to find it.The Issue
Please describe the issue that you are experiencing.
Simple failure to upload due to Python error:
Steps to Reproduce
If the issue is predictable and consistently reproducible, please list the steps here.
The text was updated successfully, but these errors were encountered: