-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Bioregistry hit project size limit on PyPI #1100
Comments
Wow! I think package size probably hast to be limited to be long term sustainable. Never knew about this limit! |
This was referenced Apr 18, 2024
I just deleted about 50 old versions (evenly spaced out days). Between that, changing updates to weekly, and reducing the size, this should be good until then end of the year when I'll be back and can come up with a more long-term solution |
cthoyt
added a commit
that referenced
this issue
Apr 18, 2024
This PR does the following: 1. Consolidates the external registry getters (in `bioregistry.external`), the external registry alignment classes (in `bioregistry.align` the data artifacts (in `bioregistry.data.external`), and a few (3) configuration files (in `bioregistry.data`) into a single hierarchy in `bioregistry.external`. 2. Moves the metaregistry curation sheets and the raw data from the repositories out of the `src/` structure. They're now in the `/exports/alignment/` and `/exports/raw/` folders, respectively. The point of this is to reduce the size of the package that gets sent to PyPI, related to #1100 3. minor version bump to 0.11.X series In theory, this shouldn't affect any downstream uses, since the `bioregistry.align` submodule isn't really for external users.
cthoyt
added a commit
that referenced
this issue
Apr 18, 2024
Related to #1100 since we hit the PyPI size limit. Regardless of the solution we pick going forwards for reducing the existing size, we will run into it again (eventually), so this will slow that down. - [x] Update cron schedule in GitHub actions - [x] Update text on website - [x] Add additional tutorial/guide on how to run this manually
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On the automated update on April 17th, 2024, we finally hit the project size limit for PyPI. Here's the error log from the CI attempt to upload it to PyPI:
A few options for going forward:
In parallel, it might be worth checking if we can reduce the data that's packaged. For example, it's still nice to keep raw data in version control, but maybe we don't need raw data in the package.
The text was updated successfully, but these errors were encountered: