No project description provided
Project description
Poetry Legacy Index Fix
This project is a poetry plugin that has one simple purpose:
Patch poetry (Legacy) Repository to download wheels associated with the given platform.
Why?
Long story short, TensorFlow 2.11.x includes different metadata per platform wheel, and poetry simply downloads the first wheel found in a legacy index (e.g. devpi, pypiserver), which causes it to incorrectly resolve the dependencies.
Another nice side effect is that (based on a discussion on the poetry repo) poetry doesn't cache the downloaded wheels at the "solving" phase, which means that if the first wheel downloaded is not the one that will be installed, it will be downloaded again and again each time (~500 MB for TensorFlow). By downloading the wheel for the given platform, it will at least check the cache before attempting to download the wheel, and the wheel should be available if it was already downloaded for installation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for poetry_legacy_index-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d75881ff96a233fbc43bfeaa8923b4e7db400ad3a4acc1aca236f681b0ea7a3 |
|
MD5 | 6eeab375a5211550747597170c811c55 |
|
BLAKE2b-256 | 9a4061bbf3ebea00e3a8353ead2ec02b66b3f80aee8cfca15af88f28880f468a |
Hashes for poetry_legacy_index-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e41dc358dd3e8a8b4c9e9470f9da8703e68be1ce067517703eb97f3936c4962 |
|
MD5 | cbeec98829d53d1c06545f2b734dec59 |
|
BLAKE2b-256 | c2c8ee81529cf4848eb754b8256dddefebb8070282355ddfae6d8e7aea7ce712 |