-
Notifications
You must be signed in to change notification settings - Fork 151
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
version 0.45: Metadata-Version change to 2.4 while converting breaks compatibility with Artifactory #643
Comments
Workaround: unpack the wheel, run a search/replace on the The bigger question is: why are you converting from eggs in the first place? Where are those eggs coming from? The format has been obsolete for years. |
Some time I need to create packages that only include *.pyc when I don't want to distribute the source code; for example for distributing the solution checker for programming assignments that needs to contain a valid solution for comparing results. This is the only way I managed to do it:
|
If you have a complicated build process, you might be better off with Hatchling or PDM as your build back-end, rather than |
One more thing: You did know that Python bytecode can be trivially decompiled back into readable source code by using tools like uncompyle6, right? |
This change:
c81f5c9#diff-94823ead5c1b659f5e4ce678faeecfae04532b1b67982adb50228830c094fe50R90
replaces
Metadata-Version
with2.4
when converting wheels.This breaks compatibility with Artifactory.
Artifactory knows up to 2.3, and refuses to process 2.4, even though it should, according to spec, accept a minor change in the spec.
Is there a workaround to set a specific
Metadata-Version
?(also, should the Metadata-Version be changed at all when converting?)
The text was updated successfully, but these errors were encountered: