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

Drop Python 3.8 Support #2068

Merged
merged 5 commits into from
Jan 28, 2025
Merged

Drop Python 3.8 Support #2068

merged 5 commits into from
Jan 28, 2025

Conversation

ni-jfitzger
Copy link
Collaborator

@ni-jfitzger ni-jfitzger commented Jan 25, 2025

  • This contribution adheres to CONTRIBUTING.md.
  • I've updated CHANGELOG.md if applicable.
  • [ ] I've added tests applicable for this pull request

What does this Pull Request accomplish?

  • Drop Python 3.8 support, by removing it from our testing and list of officially supported versions.
  • (For the first time) enforce our version support policy at installation: disallow installation of APIs on Python versions earlier than 3.9
    • As part of this we now need to specify a list of supported Python versions for building wheel_dep in tox-system_tests.ini

List issues fixed by this Pull Request below, if any.

None

What testing has been done?

PR Checks

@ni-jfitzger
Copy link
Collaborator Author

Interestingly, our Changelog shows that we added 3.8 support to all APIs twice.

@codecov-commenter
Copy link

codecov-commenter commented Jan 25, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.04%. Comparing base (afd791e) to head (7b69442).
Report is 2 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2068      +/-   ##
==========================================
+ Coverage   91.33%   92.04%   +0.71%     
==========================================
  Files          66       56      -10     
  Lines       16274    14652    -1622     
==========================================
- Hits        14864    13487    -1377     
+ Misses       1410     1165     -245     
Flag Coverage Δ
codegenunittests ?
nidcpowersystemtests 94.59% <ø> (+0.04%) ⬆️
nidcpowerunittests 89.53% <ø> (ø)
nidigitalsystemtests 92.20% <ø> (ø)
nidigitalunittests 68.45% <ø> (ø)
nidmmsystemtests 92.72% <ø> (ø)
nifakeunittests 87.24% <ø> (ø)
nifgensystemtests 94.86% <ø> (ø)
nimodinstsystemtests 73.85% <ø> (ø)
nimodinstunittests 94.20% <ø> (ø)
niscopesystemtests 92.94% <ø> (ø)
niscopeunittests 43.20% <ø> (ø)
nisesystemtests 91.50% <ø> (ø)
niswitchsystemtests 82.03% <ø> (ø)
nitclksystemtests 94.87% <ø> (ø)
nitclkunittests 98.26% <ø> (ø)

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

see 11 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update afd791e...7b69442. Read the comment docs.

@ni-jfitzger ni-jfitzger added this to the nimi-python 1.4.9 milestone Jan 27, 2025
@ni-jfitzger ni-jfitzger changed the title Drop python 3.8 Support Drop Python 3.8 Support Jan 28, 2025
Copy link
Member

@marcoskirsch marcoskirsch left a comment

Choose a reason for hiding this comment

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

Weird about the duplication in CHANGELOG.md
If you have the energy to figure out what the right thing is (was it a different version of Python that was added? Second addition bogus) and fix it, that'd be great. You can do it in a separate PR if you prefer.

@ni-jfitzger
Copy link
Collaborator Author

Looks like the RHEL system tests are failing because it's trying to build nitclk with an older version of Python. I'll need to fix that.

@ni-jfitzger
Copy link
Collaborator Author

Weird about the duplication in CHANGELOG.md If you have the energy to figure out what the right thing is (was it a different version of Python that was added? Second addition bogus) and fix it, that'd be great. You can do it in a separate PR if you prefer.

We didn't do things as cleanly back then, but it seems as though support was officially added in 1.1.4 and we just forgot to add the classifier for PyPI until 1.2.0.

@ni-jfitzger ni-jfitzger merged commit dd57eae into ni:master Jan 28, 2025
35 checks passed
@ni-jfitzger ni-jfitzger deleted the drop-python-3.8 branch January 28, 2025 15:46
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.

5 participants