Skip to content

add fix for muting FSTRING_MIDDLE in 3.12+ #1148

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

Merged
merged 1 commit into from
Jun 13, 2023
Merged

add fix for muting FSTRING_MIDDLE in 3.12+ #1148

merged 1 commit into from
Jun 13, 2023

Conversation

asottile
Copy link
Member

this still does not pass the full testsuite -- but this gets closer to that

@asottile asottile merged commit 081c170 into main Jun 13, 2023
@asottile asottile deleted the fstring-312 branch June 13, 2023 01:47
FriedrichFroebel added a commit to FriedrichFroebel/python-djvulibre that referenced this pull request Jul 27, 2023
bruno-fs added a commit to bruno-fs/retrocookie that referenced this pull request May 29, 2024
Update pycodestyle to include a [fix][pycodestyle fix]
for false positives E231 being triggered in python 3.12.

In order to do so, dependency resolution required bumping
minimum python version to 3.8.1 (dependency hell, is that you?).

[pycodestyle fix]: PyCQA/pycodestyle#1148
bruno-fs added a commit to bruno-fs/retrocookie that referenced this pull request May 29, 2024
Update pycodestyle to include a [fix][pycodestyle fix]
for false positives E231 being triggered in python 3.12.

In order to do so, dependency resolution required bumping
minimum python version to 3.8.1 (dependency hell, is that you?).

[pycodestyle fix]: PyCQA/pycodestyle#1148
cjolowicz pushed a commit to cjolowicz/retrocookie that referenced this pull request May 30, 2024
* 👷 Limit max pygit2 version

🔧 [pygit2] Limit pygit2 max version to <1.15 due to breaking changes [pygit2-changelog].

[pygit2-changelog]: https://github.com/libgit2/pygit2/blob/master/CHANGELOG.md#1150-2024-05-18

* 🔧 [CI] update pipx installation command

For some reason (internal change on pipx?), 'constraint' parameter
now requires a full path.

* Update constraints versions

* Bump supported python version matrix

Drop support for python 3.7, which is EOL. This was required to allow
upgrading some dependencies which were affected by CVEs.

Also bump supported python versions up to the latest, which at time of
writing is python 3.12.

* Auto-fixes provided by updated pre-commit checks

* [pycodestyle] Fix false positive E231

Update pycodestyle to include a [fix][pycodestyle fix]
for false positives E231 being triggered in python 3.12.

In order to do so, dependency resolution required bumping
minimum python version to 3.8.1 (dependency hell, is that you?).

[pycodestyle fix]: PyCQA/pycodestyle#1148

* [bugbear] Adjust code to be compliant with B017

B017 (assert-raises-exception) enforces treats assertRaises(Exception)
and pytest.raises(Exception) like pure evil.

* [mypy] Update code to be compliant with updated mypy rules

* [typeguard] adjust code to be compliant

This commit introduces a change that is required for typeguard to get past at least "collection" phase of pytest. However, ~20 failures still need to be fixed in order to be fully complaint with latest typeguard.

Instead, let's just limit max typeguard version until a proper fix is implemented.
at-wat added a commit to seqsense/aports-ros-experimental that referenced this pull request Jun 4, 2024
at-wat added a commit to at-wat/roslint-pip that referenced this pull request Jun 5, 2024
at-wat added a commit to at-wat/roslint-pip that referenced this pull request Jun 5, 2024
cu added a commit to cu/silicon that referenced this pull request Dec 26, 2024
cu added a commit to cu/silicon that referenced this pull request Dec 26, 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.

1 participant