Skip to content

Conversation

@deepcharles
Copy link
Owner

@deepcharles deepcharles commented Aug 28, 2025

An error is thrown when uploading an artefact (actions/upload-artifact) because the version is too old

https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

Edit

Everything broke after bumping the version, so I ended up changing more things.

Summary of changes:

  • only build wheels for python >=3.8 by modifying setup.cfg (there was an error when installing scipy for py37 on win_amd64)
  • add wheels for py314 and py314t (whatever this is)
  • skip wheels for win32 for py314 and py314t
  • update version of actions/upload-artifact, and giving a specific name for each artifact to avoid name collision
  • update all possible versions of python and gha (setup-python, checkout, setup-quemu)
  • Remove py38 and py314 from tests

My changes are mostly based on this guide

@github-actions github-actions bot added the Type: CI Changes to CI configuration files and scripts label Aug 28, 2025
@codecov
Copy link

codecov bot commented Aug 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.77%. Comparing base (684b2ed) to head (14bfd56).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #356   +/-   ##
=======================================
  Coverage   98.77%   98.77%           
=======================================
  Files          40       40           
  Lines         980      980           
=======================================
  Hits          968      968           
  Misses         12       12           
Flag Coverage Δ
unittests 98.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

An error is thrown when uploading an artefact (`actions/upload-artifact`) because the version is too old

https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
Build wheels on ubuntu-latest
cibuildwheel: Invalid skip selector: 'pp*'. This selector matches a group that wasn't enabled. Enable it using the `enable` option or remove this selector. This selector will have no effect.
Warning: cibuildwheel 3 will require Python 3.11+, please upgrade the Python version used to run cibuildwheel. This does not affect the versions you can target when building wheels. See: https://cibuildwheel.pypa.io/en/stable/#what-does-it-do
because one wheel is bugging on python 3.8 and win amd64
@deepcharles deepcharles force-pushed the upgrade-actions-upload-artifact branch from cd3bdae to 0ef139d Compare September 9, 2025 19:52
@deepcharles
Copy link
Owner Author

well that was painful.

In sumary,

  • Updated all failing GitHub Actions workflows
  • Upgraded Python versions (previously locked to 3.8) in workflow
  • Python 3.8 is no longer supported (EOL, no wheels/tests from now on)

Once this gets merged, I'll finally be able to generate new wheels

@deepcharles deepcharles requested a review from dudustri September 9, 2025 20:20
Copy link
Contributor

@dudustri dudustri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job 👍

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(question): no 3.14 here?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done ! 332fc31

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately, there is no simple way to test ruptures on py3.14. The gh action running the tests raises this error:

Error: The version '3.14' with architecture 'x64' was not found for Ubuntu 24.04.

I'd rather not publish untested code, so I'll remove support for py3.14 for now.

Sorry for the noise

@deepcharles deepcharles merged commit 89105fc into master Sep 10, 2025
20 checks passed
@deepcharles deepcharles changed the title ci(upload-pypi): upgrade version of artefact upload action ci(upload-pypi): bump versions of gha and manage supported python versions Sep 10, 2025
@deepcharles deepcharles deleted the upgrade-actions-upload-artifact branch September 10, 2025 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: CI Changes to CI configuration files and scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants