Open chkp-shacharah opened 4 months ago
@chkp-shacharah py-lmdb removed support for Python 2.7. See the following changelog entries:
2024-06-30 1.5.0
* Add Python 3.12 binaries.
* Update bundled LMDB to 0.9.31.
* Remove Python 2.7 support.
You would need to use an earlier version if you're working with Python 2.7; or update your Python interpreter.
It is also mentioned right on the README and on the front of the github page.
I'm surprised that pip tried to install it though. The metadata on the package is correct: https://pypi.org/project/lmdb/
Keeping this open to remind me to put in a more obvious error out if Python is too old.
I see the problem with the package metadata. A correct example is here: https://pypi.org/project/numpy/. On the left bar, you can see a "Requires: Python >=3.9". I need something like that and I believe pip will refuse to install. This is fantastic because I'm going to need to bump the version again and remove 1.5.0 and 1.5.1 from pypi.
Affected Operating Systems
Affected py-lmdb Version
py-lmdb Installation Method
Using bundled or distribution-provided LMDB library?
not sure ..
Machine "free -m" output
Other important machine info
Describe Your Problem
Installing the lmdb lib via pip (python2.7) , does not work with versions > 1.4.1
Errors/exceptions Encountered
also with
wheel
installed - lmdb fails to install:but v 1.4.1 works well as before -
Describe What You Expected To Happen
I expected installation to succeed as it did with v 1.4.1 and before :)
Describe What Happened Instead
Installation failed, reverted back to last known version