Skip to content

Drop Python 3.8 support - #57

Merged
bdraco merged 6 commits into
masterfrom
drop_38
Oct 11, 2024
Merged

bdraco merged 6 commits into
masterfrom
drop_38

Conversation

@bdraco

@bdraco bdraco commented Oct 10, 2024 •

Copy link
Copy Markdown
Member

What do these changes do?

Drop Python 3.8 support

3.8 has reached EOL as of the 7th of October https://devguide.python.org/versions/

Are there changes in behavior for the user?

Drop Python 3.8 support

@pyba-chronographer pyba-chronographer Bot added the bot:chronographer:provided There is a change note present in this PR label Oct 10, 2024

@overload
def __get__(self, inst: None, owner: Optional[Type[object]] = None) -> Self: ...
def __get__(self, inst: None, owner: Optional[type[object]] = None) -> Self: ...

Check notice

Code scanning / CodeQL

Statement has no effect

This statement has no effect.

@overload
def __get__(self, inst: _TSelf[_T], owner: Optional[Type[object]] = None) -> _T: ...
def __get__(self, inst: _TSelf[_T], owner: Optional[type[object]] = None) -> _T: ...

Check notice

Code scanning / CodeQL

Statement has no effect

This statement has no effect.
@bdraco
bdraco marked this pull request as ready for review October 10, 2024 20:45
@codecov

codecov Bot commented Oct 10, 2024 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.

Project coverage is 88.07%. Comparing base (d6e71b6) to head (c6a2845).
Report is 32 commits behind head on master.

Files with missing lines Patch % Lines
src/propcache/_helpers_py.py 60.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
- Coverage   88.24%   88.07%   -0.17%     
==========================================
  Files          17       17              
  Lines         689      671      -18     
  Branches       70       67       -3     
==========================================
- Hits          608      591      -17     
+ Misses         63       62       -1     
  Partials       18       18              
Flag Coverage Δ
CI-GHA 88.07% <89.47%> (-0.17%) ⬇️
MyPy 77.54% <66.66%> (-0.30%) ⬇️
OS-Linux 99.32% <100.00%> (+0.94%) ⬆️
OS-Windows 94.23% <85.71%> (+0.57%) ⬆️
OS-macOS 94.93% <86.66%> (+0.75%) ⬆️
Py-3.10.11 94.59% <86.66%> (+1.71%) ⬆️
Py-3.10.15 97.29% <100.00%> (+1.82%) ⬆️
Py-3.11.10 97.29% <100.00%> (+1.82%) ⬆️
Py-3.11.9 94.59% <86.66%> (+1.71%) ⬆️
Py-3.12.7 97.29% <100.00%> (+1.82%) ⬆️
Py-3.13.0 97.29% <100.00%> (+1.82%) ⬆️
Py-3.8.10 ?
Py-3.8.18 ?
Py-3.9.13 94.57% <86.66%> (+1.71%) ⬆️
Py-3.9.20 97.28% <100.00%> (+1.83%) ⬆️
Py-pypy7.3.11 ?
Py-pypy7.3.16 96.52% <100.00%> (+1.39%) ⬆️
Py-pypy7.3.17 96.53% <100.00%> (+1.38%) ⬆️
VM-macos-latest 94.93% <86.66%> (+0.75%) ⬆️
VM-ubuntu-latest 99.32% <100.00%> (+0.94%) ⬆️
VM-windows-latest 94.23% <85.71%> (+0.57%) ⬆️
pytest 99.32% <100.00%> (+0.94%) ⬆️

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.

Comment thread .github/workflows/reusable-linters.yml Resolved
Comment thread CHANGES/57.breaking.rst Resolved

@webknjaz webknjaz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

pre-commit config needs to be updated. Also, should we go top-down and drop 3.8 from aiohttp first? Currently, its changelog only mentions the drop in master / v4. Should 3.11 be released first?

Comment thread .pre-commit-config.yaml Resolved
@bdraco

bdraco commented Oct 10, 2024

Copy link
Copy Markdown
Member Author

pre-commit config needs to be updated. Also, should we go top-down and drop 3.8 from aiohttp first? Currently, its changelog only mentions the drop in master / v4. Should 3.11 be released first?

Probably a good idea. I was waiting for digest auth / middle ware to land in 3.11 before releasing but no reason we can't release 3.11 tomorrow and land it in 3.12

@Dreamsorcerer

Copy link
Copy Markdown
Member

pre-commit config needs to be updated. Also, should we go top-down and drop 3.8 from aiohttp first? Currently, its changelog only mentions the drop in master / v4. Should 3.11 be released first?

Probably a good idea. I was waiting for digest auth / middle ware to land in 3.11 before releasing but no reason we can't release 3.11 tomorrow and land it in 3.12

I think we should wait a little longer before releasing 3.11. I see no reason to block this on the aiohttp release though. FYI, if you look at https://pypistats.org/packages/aiohttp Python 3.8 is still the second most popular version most days. So, it'd be nice to keep the 3.10 release going till atleast the end of the year.

@webknjaz

Copy link
Copy Markdown
Member

Okay, let's not block, then.

Comment thread tests/conftest.py Fixed
Comment thread tests/conftest.py Resolved
@bdraco
bdraco merged commit f5ba26c into master Oct 11, 2024
@bdraco
bdraco deleted the drop_38 branch October 11, 2024 20:42
@Dreamsorcerer Dreamsorcerer mentioned this pull request Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants