Skip to content
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

Bump basic CI tests and CD to python 3.9 #192

Merged

Conversation

ajeklund
Copy link
Contributor

@ajeklund ajeklund commented Mar 4, 2024

Description

Because documentation will no longer build on python 3.7, we bump its release job together with the package build from 3.7 to 3.9. Closes #191.

While at it, we also bump the basic CI tests to 3.9. This does not impact the ability to install and use the built package in Python 3.7 or 3.8.

Type of change

  • Bug fix and code cleanup
  • New feature
  • Documentation update
  • Testing

Checklist for the reviewer

This checklist should be used as a help for the reviewer.

  • Is the change limited to one issue?
  • Does this PR close the issue?
  • Is the code easy to read and understand?
  • Do all new feature have an accompanying new test?
  • Has the documentation been updated as necessary?
  • Is the code properly tested?

@ajeklund ajeklund linked an issue Mar 4, 2024 that may be closed by this pull request
@ajeklund ajeklund changed the title Bump release workflow to python from 3.7 to 3.9 Bump release workflow from python 3.7 to 3.9 Mar 4, 2024
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.47%. Comparing base (4314f40) to head (553e528).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #192   +/-   ##
=======================================
  Coverage   77.47%   77.47%           
=======================================
  Files          18       18           
  Lines        1545     1545           
=======================================
  Hits         1197     1197           
  Misses        348      348           

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

@ajeklund
Copy link
Contributor Author

ajeklund commented Mar 8, 2024

This PR has not been tested yet; should be done before merging.

@ajeklund ajeklund requested a review from CasperWA March 8, 2024 08:08
CasperWA and others added 2 commits March 8, 2024 15:34
The basic tests do not test the functionality of the code, but rather
runs the developer tools, builds the package distribution and the
documentation.
Since the builds will be done using Python 3.9, this is in alignment.
Note, this does not affect the ability to use Python 3.7 or 3.8 when
installing and using the built package.
@CasperWA
Copy link
Contributor

CasperWA commented Mar 8, 2024

I've bumped the Python version used for the basic CI tests to Python 3.9. This ensures we test building the package distribution and documentation in the same Python version as is being used upon a release. This does not impact the ability to install and use the built package in Python 3.7 or 3.8.

@CasperWA
Copy link
Contributor

CasperWA commented Mar 8, 2024

@ajeklund "squash and merge" at will :)

@ajeklund ajeklund changed the title Bump release workflow from python 3.7 to 3.9 Bump basic CI tests and CD to python 3.9 Mar 8, 2024
@ajeklund ajeklund merged commit f04c50f into master Mar 8, 2024
16 checks passed
@ajeklund ajeklund deleted the 191-publish-workflow-fails-because-it-uses-python-37 branch March 8, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish workflow fails because it uses python 3.7
2 participants