Skip to content

BUG: Nightly wheels have disappeared #9198

Closed

Description

@larsoner

Nightly wheels for statsmodels are no longer present. Three days ago it was fine:

Collecting statsmodels
  Downloading https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/statsmodels/0.15.0.dev215%2Bg26645ecc0/statsmodels-0.15.0.dev215%2Bg26645ecc0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.8 MB)

But now it's broken:

ERROR: Could not find a version that satisfies the requirement statsmodels (from versions: none)

https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/

image

Activity

  1. bashtage commented on Apr 5, 2024

    @bashtage
    Member

    I suspect that someone removed nightlies that aren't NumPy 2 compatible. But just a guess.

  2. bashtage commented on Apr 5, 2024

    @bashtage
    Member

    @rgommers Any idea why statsmodels would have been deleted from this account?

  3. rgommers commented on Apr 5, 2024

    @rgommers
    Member

    Probably because there's a pretty aggressive automatic cleanup, wheels older than 30 days are removed. And once all wheels are gone, I think the bucket may be auto-deleted. @matthewfeickert may be able to say more here.

    This is the relevant repo: https://github.com/scientific-python/upload-nightly-action/issues.

  4. larsoner commented on Apr 5, 2024

    @larsoner
    ContributorAuthor

    I suspect that someone removed nightlies that aren't NumPy 2 compatible. But just a guess.

    I assumed they were NumPy 2.0 compatible since our test passed on the run linked above from a few days ago that has this line in it:

    mne/time_frequency/tests/test_ar.py:    from statsmodels.regression.linear_model import yule_walker as sm_yw
    

    Most non-2.0 compatible things fail to import at all. But maybe the nightly wheels were not 2.0 compatible and MNE-Python just doesn't import from the right places in statsmodels to trigger it.

  5. bashtage commented on Apr 5, 2024

    @bashtage
    Member

    I think the GH actions auto disabled the nightly build about a month ago and then after 30 days the repo was deleted.

    I have re-enabled the GH action so hopefully it will get built.

  6. matthewfeickert commented on Apr 5, 2024

    @matthewfeickert

    I can look at this in a few hours but am currently tied up at a physics workshop. Ping me as needed and I'll get to it. 👍

  7. matthewfeickert commented on Apr 5, 2024

    @matthewfeickert

    once all wheels are gone, I think the bucket may be auto-deleted.

    That's correct, and not something that is controlled by Scientific Python, but by Anaconda Cloud. @bashtage to restore the existence of a project, I've uploaded a v0.14.1 statsmodels wheel to https://anaconda.org/scientific-python-nightly-wheels/statsmodels. So now that

    I have re-enabled the GH action so hopefully it will get built.

    you should be able to go ahead and trigger a full build and upload on GitHub Actions. Let's leave this Issue open though until your CI correctly uploads all the wheels.

    Probably because there's a pretty aggressive automatic cleanup, wheels older than 30 days are removed.

    The current cleanup policy:

    Artifact cleanup-policy at the scientific-python-nightly-wheels channel

    To avoid hosting outdated development versions, as well as to clean up space, we do have a
    default retention policy of:

    • Latest 5 versions
    • Artifacts newer than 30 days

    Any versions beyond these are automatically removed as part of a daily cron job run from this repository.
    Projects may have reasons to request to be added to the list exempt from this automated cleanup, however in that case the responsibility of cleaning-up old, unused versions fall back on the individual project.

    The policy can be changed if need be, though if there are no wheels that are uploaded in 30 days this seems quite strange and would seem to point to a problem like what happened here with the CI getting cut off.

  8. matthewfeickert commented on Apr 9, 2024

    @matthewfeickert

    @larsoner @bashtage I see that the nightly wheels are getting uploaded again to https://anaconda.org/scientific-python-nightly-wheels/statsmodels/files so I think that this Issue has been resolved.

  9. larsoner commented on Jul 20, 2024

    @larsoner
    ContributorAuthor

    Looks like they're gone again:

    https://anaconda.org/scientific-python-nightly-wheels/repo

    Screenshot 2024-07-20 at 1 30 07 PM
    $ python -m pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple statsmodels --upgrade --use-deprecated=legacy-resolver --force-reinstall
    Looking in indexes: https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
    ERROR: Could not find a version that satisfies the requirement statsmodels (from versions: none)
    ERROR: No matching distribution found for statsmodels
    
  10. bashtage commented on Jul 20, 2024

    @bashtage
    Member

    It has a timeout if there is no activity in the statsmodels-wheels repo it will stop running. Probably need to move it to main statamodels.

  11. bashtage commented on Jul 22, 2024

    @bashtage
    Member

    Should be fixed again when the next build window comes up.

  12. bashtage commented on Jul 23, 2024

    @bashtage
    Member

    Definitely back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions