-
Notifications
You must be signed in to change notification settings - Fork 99
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
new version of six (1.11.0) breaks pgpy with python2.7 #217
Comments
New six version (1.11.0) breaks pgpy, so we pin to previous version (1.10.0). See: SecurityInnovation/PGPy#217
New six version (1.11.0) breaks pgpy, so we pin to previous version (1.10.0). See: SecurityInnovation/PGPy#217
add the version of with_metaclass found in six==1.10.0 See SecurityInnovation/PGPy#217 - Resolves: #8672
Hey, thanks for fixing this! I was wondering what the time frame is for a new release which would have this patch included? |
I was hoping six would have had a patch released by now to fix their forward compatibility (it sounded like they were planning on it), but since that has not happened, I will do another patch release that will include this fix very soon |
I've pinged benjaminp/six#210 again asking for a revert, however it's worth noting the usage here was broken, so the fix to PGPy was needed either way. |
It actually worked prior to six 1.11.0, so it clearly was not "broken" prior to 1.11.0, even if it was not the intended usage. The "correct" code did not work as it was supposed to when I originally wrote that stuff, which is why it was that way. The supposedly "broken" code had no adverse side effects prior to six 1.11.0, so I'm not even sure what value the changes that caused it to become broken actually have. |
Hi! I don't suppose it would be possible to cut a new point release including the fix for this at some point soon? Many thanks :-) |
heh, I just came here to check the same thing! |
Working on it! :) |
If there's anything we can do to help, let us know :-) |
- the tests on py27 are currently broken due to the long pending issue SecurityInnovation/PGPy#217 - this autocrypt repository is not going to drop the dependency on and default of gpg or gpg2 any time soon (stability, missing keyring support) and there are a number of upcoming refactorings where all not-used code requires more effort to keep working. - there is a separate "pyac" effort aiming for implementing autocrypt with pgpy https://github.com/juga0/pyac and it -- it probably makes sense to try merge/converge between the two efforts once pgpy is usable and stable enough.
Perhaps to simplify the release, just these commits (and not the newer ones) could be released, reducing the amount of testing/prep required? |
Is there any chance we can get a fix released for this sometime in the near future? I just slammed into this while working on a project that needs to support Py2/Py3 on Ubuntu Bionic. |
This issue is popping back up now. I have TypeError: Error when calling the metaclass bases
metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
|
this is fixed and will be available shortly in PGPy v0.5.0 |
- Update pydpkg dependency to handle xz-compressed control files - Update PGPy dependency to 0.5.2 to resolve build errors. (cf: SecurityInnovation/PGPy#217) - Deprecate Python 3.3 support - Add support for python 3.6, 3.7 - fix setup.py long description handling - Bump version to 1.0.5
six just released version 1.11.0, which seems to break pgpy when using python2.7:
If I force six version 1.10.0 it works:
$ pip install six==1.10.0 Collecting six==1.10.0 Using cached six-1.10.0-py2.py3-none-any.whl Installing collected packages: six Found existing installation: six 1.11.0 Uninstalling six-1.11.0: Successfully uninstalled six-1.11.0 Successfully installed six-1.10.0 $ python -c "import pgpy"
The text was updated successfully, but these errors were encountered: