Skip to content

Conversation

@charliermarsh
Copy link
Member

Summary

Given sys.version_info[:2] >= (3,0), we should treat this equivalently to sys.version_info >= (3,0).

Closes #8095.

@charliermarsh charliermarsh added the bug Something isn't working label Oct 21, 2023
@charliermarsh charliermarsh enabled auto-merge (squash) October 21, 2023 23:00
@charliermarsh charliermarsh merged commit 4e07a65 into main Oct 21, 2023
@charliermarsh charliermarsh deleted the charlie/slice branch October 21, 2023 23:08
@github-actions
Copy link
Contributor

PR Check Results

Ecosystem

ℹ️ ecosystem check detected changes. (+1, -0, 0 error(s))

mypy (+1, -0)

+ mypy/util.py:413:8: UP036 Version block is outdated for minimum Python version

Rules changed: 1
Rule Changes Additions Removals
UP036 1 1 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UP036 (outdated-version-block) does not work with slicing

2 participants