Skip to content

Conversation

@Kami
Copy link
Member

@Kami Kami commented Mar 2, 2025

Description

Python 3.8 has been EOL for a while.

This PR removes Python 3.8 from build pipeline (GHA workflows) and tox.ini.

It also updates various tox targets which used 3.8 to now use 3.9 instead.

Other Changes

  • Add Python 3.13 to the build pipeline
  • Upgrade version of cryptography used for tests to avoid pip audit failing
  • Update testing Docker image (remove 3.7 and 3.8, use 3.9 as base for tox, add 3.12, 3.13 and PyPy 3.10)
  • Fix bandit false positives
  • Fix integration test failure due to changes in the output in upstream MinIO Docker testing image we use
  • Upgrade various dev / testing / docs dependencies

@codecov-commenter
Copy link

codecov-commenter commented Mar 2, 2025

Codecov Report

Attention: Patch coverage is 52.70270% with 35 lines in your changes missing coverage. Please review.

Project coverage is 83.40%. Comparing base (41ba049) to head (cb85b28).
Report is 81 commits behind head on trunk.

Files with missing lines Patch % Lines
libcloud/compute/drivers/vsphere.py 9.09% 10 Missing ⚠️
libcloud/compute/drivers/vcloud.py 60.00% 2 Missing and 2 partials ⚠️
libcloud/dns/drivers/vultr.py 0.00% 4 Missing ⚠️
libcloud/compute/drivers/kubevirt.py 50.00% 3 Missing ⚠️
libcloud/compute/drivers/equinixmetal.py 50.00% 2 Missing ⚠️
libcloud/compute/drivers/nttcis.py 33.33% 2 Missing ⚠️
libcloud/dns/drivers/worldwidedns.py 0.00% 2 Missing ⚠️
libcloud/common/worldwidedns.py 0.00% 1 Missing ⚠️
libcloud/compute/drivers/ovh.py 0.00% 1 Missing ⚠️
libcloud/compute/drivers/rackspace.py 0.00% 1 Missing ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff             @@
##            trunk    #2050      +/-   ##
==========================================
+ Coverage   83.37%   83.40%   +0.03%     
==========================================
  Files         353      353              
  Lines       81650    81684      +34     
  Branches     8627     8631       +4     
==========================================
+ Hits        68068    68124      +56     
+ Misses      10760    10738      -22     
  Partials     2822     2822              
Files with missing lines Coverage Δ
libcloud/common/gandi.py 77.78% <100.00%> (ø)
libcloud/common/nfsn.py 78.57% <100.00%> (ø)
libcloud/common/ovh.py 79.35% <100.00%> (ø)
libcloud/compute/base.py 92.83% <100.00%> (ø)
libcloud/compute/drivers/abiquo.py 95.93% <100.00%> (+0.03%) ⬆️
libcloud/compute/drivers/cloudsigma.py 82.85% <100.00%> (ø)
libcloud/compute/drivers/gce.py 77.46% <ø> (-0.03%) ⬇️
libcloud/compute/drivers/opennebula.py 94.29% <100.00%> (ø)
libcloud/container/drivers/kubernetes.py 80.00% <100.00%> (ø)
libcloud/dns/drivers/rcodezero.py 71.88% <100.00%> (+1.04%) ⬆️
... and 21 more

... and 14 files with indirect coverage changes

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

@Kami Kami changed the title Remove Python 3.8 from build pipelines and tox.ini Remove Python 3.8 from build pipelines and tox.ini, add Python 3.13 Mar 2, 2025
@Kami Kami changed the title Remove Python 3.8 from build pipelines and tox.ini, add Python 3.13 Remove Python 3.8 from build pipelines and tox.ini, add Python 3.13 and various other fixes Mar 2, 2025
@Kami Kami changed the title Remove Python 3.8 from build pipelines and tox.ini, add Python 3.13 and various other fixes Remove Python 3.8 from build pipelines and tox.ini, add Python 3.13 and various other fixes and dependency upgrades Mar 2, 2025
@Kami Kami mentioned this pull request Mar 2, 2025
@Kami Kami merged commit dcacf74 into trunk Mar 2, 2025
17 checks passed
@Kami Kami deleted the chore/remove/py3.8 branch March 2, 2025 16:36
@Kami Kami added this to the v3.9.0 milestone Mar 2, 2025
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.

2 participants