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 minimum Python version to 3.6.3 (from 3.6.1) #2161

Merged
merged 1 commit into from Apr 5, 2022

Conversation

olivierphi
Copy link
Contributor

@olivierphi olivierphi commented Apr 4, 2022

The OrderedDict[CacheKey, CacheValue] code we use in the LRUCache class doesn't work with Python versions 3.6.1 and 3.6.2, unfortunately.

Failed attempt to add more specific 3.6.3 check on GitHub Actions

I wanted to force a failing check with Python 3.6.2 and a successful one with 3.6.3 on GitHub Actions, but it turns out that we cannot since the oldest 3.6.x version provided by these Actions is 3.6.7, according to this file: 😔
https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Screenshot from 2022-04-04 16-23-13

Type of changes

  • Bug fix
  • New feature
  • Documentation / docstrings
  • Tests
  • Other

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @willmcgugan may be pedantic in the code review.

The `OrderedDict[CacheKey, CacheValue]` code we use in the LRUCache class doesn't work with Python versions `3.6.1` and `3.6.2`, unfortunately
@olivierphi olivierphi force-pushed the bump-minimum-version-to-3.6.3 branch from 015914a to 303e9b5 Compare April 4, 2022 15:24
@codecov-commenter
Copy link

codecov-commenter commented Apr 4, 2022

Codecov Report

Merging #2161 (303e9b5) into master (7105781) will decrease coverage by 0.39%.
The diff coverage is 85.77%.

@@            Coverage Diff             @@
##           master    #2161      +/-   ##
==========================================
- Coverage   99.46%   99.07%   -0.40%     
==========================================
  Files          72       72              
  Lines        7339     7554     +215     
==========================================
+ Hits         7300     7484     +184     
- Misses         39       70      +31     
Flag Coverage Δ
unittests 99.07% <85.77%> (-0.40%) ⬇️

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

Impacted Files Coverage Δ
rich/__main__.py 100.00% <ø> (ø)
rich/layout.py 100.00% <ø> (ø)
rich/progress.py 93.51% <77.69%> (-4.92%) ⬇️
rich/console.py 99.21% <100.00%> (+0.06%) ⬆️
rich/terminal_theme.py 100.00% <100.00%> (ø)
rich/traceback.py 99.55% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

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

@olivierphi olivierphi marked this pull request as ready for review April 4, 2022 15:33
Copy link
Collaborator

@willmcgugan willmcgugan left a comment

Choose a reason for hiding this comment

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

👍

@willmcgugan willmcgugan merged commit e4ba549 into master Apr 5, 2022
@willmcgugan willmcgugan deleted the bump-minimum-version-to-3.6.3 branch April 5, 2022 09:22
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.

None yet

3 participants