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

Remove all but standardized version of python in build #370

Closed
wants to merge 1 commit into from

Conversation

wookasz
Copy link
Collaborator

@wookasz wookasz commented Jul 31, 2024

Remove usage of python 3.8 in CI steps and all 3.8, 3.9, and 3.11 testing

Why

We're only using 3.10.14 in our docker image and we're hitting up against GitHub rate limits

Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@898c78c). Learn more about missing BASE report.
Report is 182 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #370   +/-   ##
=======================================
  Coverage        ?   87.76%           
=======================================
  Files           ?       26           
  Lines           ?     1022           
  Branches        ?        0           
=======================================
  Hits            ?      897           
  Misses          ?      125           
  Partials        ?        0           
Flag Coverage Δ
3.10.14 74.46% <ø> (?)
integration 70.54% <ø> (?)

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.

@@ -42,7 +42,7 @@ jobs:
tests:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.10.14"]
Copy link
Contributor

@Kilo59 Kilo59 Jul 31, 2024

Choose a reason for hiding this comment

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

This has come up before and I think it was decided to keep testing all versions.
However python 3.8 is going to EOL in 3 months so I think it's a relatively easy call to drop support for that.
https://endoflife.date/python

Even if product said we can drop support for everything but 3.10 I would still suggest we keep testing (at least unit-tests) on 3.11 and higher to keep our upgrade path clear.

Having said all that.
It would also be trivial to deal with the github API rate limit by making that test only run on one of the python versions.

cc @Shinnnyshinshin @annabarr

Suggested change
python-version: ["3.10.14"]
python-version: ["3.9", "3.10.14", "3.11"]

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@Kilo59 can you point me to where this was decided?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't understand why we would add unnecessary complexity for ourselves if we don't support running this outside of docker

Choose a reason for hiding this comment

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

@wookasz is it possible to know the version that people are running when downloading the agent from pypi?

Copy link
Contributor

@Kilo59 Kilo59 Aug 13, 2024

Choose a reason for hiding this comment

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

@Shinnnyshinshin @wookasz
https://pypistats.org/packages/great-expectations-cloud

Yesterday (8-12-24), there were 6 3.8 downloads.

@wookasz
Copy link
Collaborator Author

wookasz commented Dec 27, 2024

closing stale PR

@wookasz wookasz closed this Dec 27, 2024
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.

3 participants