Skip to main content

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

poetry_legacy_index-1.2.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

poetry_legacy_index-1.2.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page