-
Notifications
You must be signed in to change notification settings - Fork 6
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
Using this package to patch a wheel file #9
Comments
Hi! This is one of the features I would really like to implement, but it isn't yet there, at least not in any "supported" manner. Simply put, Python's I was going to add a What I can offer instead, is this snippet. It generates a new version of a wheel based on an already existing one. It might not be better than your current approach, but that is the best I can muster with current version. I tested it on the latest Django wheel, and it seems to work properly, modulo the fact that Please test it extensively before committing anything to your indexes :). Also, before using this I would advise you to wait until next Monday. This weekend I'm going to make a release that fixes few bugs, including one nasty oversight of mine wrt. I will update the gist accordingly afterwards. Please beware that this implementation is in very early stage of development. There may be minute mistakes and oversights that can result in a wheel that, while installable, might not be 100% up to spec. |
@mboisson I also decided that this usecase will become a separate
(Actual method signature TBD.) |
That would be nice! Thanks! |
Sorry this took longer than I said it would, it turned out that this would be a bit more hairy if implemented with the same API style as the rest of the library. For your usecase, you can use it as follows:
I tested it on A working version is now on I released it as
Please test extensively before bulk changing files. All bug reports greatly appreciated. |
See |
Hi @MrMino, I just tested. It seems to work very well! Thank you! |
Hi,
We have a use case (ComputeCanada/software-stack#80) to patch a wheel file to update the Version of a wheel to include a local version tag.
I could not figure out how to do this with your package. I need to:
Any guidance on how to do that would be appreciated.
For now, we have ComputeCanada/wheels_builder#29
but this does not handle the RECORD file
The text was updated successfully, but these errors were encountered: