Comments (10)
The third solution is probably not much of a solution, unless everyone who makes releases remembers to
build and upload py26, py27 wheels to PyPI at release time, passing --python-tag=py26/py27 as appropriate for each python bdist_wheel command.
from zodb.
I'm responsible for the use of zodbpickle
under 2.7 (it was already dynamically computed and used under Py3), so I'm happy to help resolve this. I guess I should finally try to read and understand PEP 426 :)
I added it for Python 2.7 because cPickle is broken in 2.7. cPickle works fine under 2.6, though (which is why jimfulton hadn't encountered the issue before). Now, zodbpickle
claims to be an implementation of the Python 2.7 pickle modules, but it is also tested on Python 2.6. When the use of zodpickle under 2.7 was merged, I did a quick review of the differences between the 2.6 and 2.7 pickle modules, and didn't find anything that looked like a compatibility issue to me.
If that holds true, then I would support option one, using zodbpickle
under Python 2.6. Although it's an additional dependency (for that one implementation), it would simplify the test matrix, and it seems reasonable and consistent to use the same pickle implementation under all platforms.
from zodb.
Oh snap I don't have PyPI rights for ZODB (and discovered this in the middle of ./fullrelease for 4.2.0b2). @jimfulton, @tseaver: please?
from zodb.
https://pypi.python.org/pypi/ZODB/4.2.0#change-history
from zodb.
Welp, 4.2.0 doesn't fix this :(
Back to the drawing board (I want to understand why before attempting a different fix).
from zodb.
I cannot reproduce using the STEPS TO REPRODUCE anymore, but I can reproduce using zodbbrowser's tox.ini on Linux.
from zodb.
RE: using zodbpickle
everywhere: Although the pickle format wouldn't change, the exceptions that get raised would (from cPickle.PicklingError
to zodbpickle.fastpickle.PicklingError
, represented as _pickle.PicklingError
) . This could be a minor compatibility concern (we ran into this in one of our test suites after jumping to ZODB 4.2.0).
from zodb.
I did a tox -r
and now can't reproduce on Linux any more.
I can reproduce on Windows, even after wiping the Jenkins workspace.
from zodb.
Filed a pip bug: pypa/pip#2870
from zodb.
My problem was that I was building ZODB wheels with wheel 0.23.0, which did not support environment markers and thus created wrong metadata in the .whl file.
Upgrading to wheel 0.24.0 fixed everything.
from zodb.
Related Issues (20)
- DeprecationWarning in Python 3.10
- `fsstats` no longer matches output of `fsdump`
- Change `pack_date` interpretation?
- Any objections to releasing 5.7.0? HOT 3
- Blob usage depending on file size HOT 4
- 5.7.0: missing git tag? HOT 2
- 5.7.0: documentation build fails with sphinx 5.x HOT 11
- 5.7.0: pytest warning and ZODB/tests should not be installed HOT 13
- PyInstaller fails to find ZODB's config.xml and exe will no run when using a provided config from URL HOT 2
- Incorporating Blob with ClientStorage HOT 8
- Dual Inquiry: 2022 Best Practices for ZODB usage outside of ZOPE using ZEO SharedStorage HOT 1
- FileStorage and other api doesn't support pathlib interface. HOT 1
- with transaction() doesn't work as expected
- On ZODB's scalability HOT 6
- [Question] documentation for contributor of ZODB ecosystem HOT 1
- Switch test name prefix from `check` to `test`. HOT 2
- ZODB with nogil Python HOT 1
- check7ZODBThreads -> failed with InvalidObjectReference HOT 5
- PyPI Owner rights for ZODB HOT 2
- Question on ZODB License HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zodb.