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

Treat Python 3.7 as minimum supported version #2159

Merged
merged 1 commit into from Jan 25, 2023
Merged

Conversation

charliermarsh
Copy link
Member

Closes #2153.

@charliermarsh charliermarsh merged commit 38de46a into main Jan 25, 2023
@charliermarsh charliermarsh deleted the charlie/py-version branch January 25, 2023 17:36
renovate bot added a commit to ixm-one/pytest-cmake-presets that referenced this pull request Jan 26, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://togithub.com/charliermarsh/ruff) | `^0.0.231` ->
`^0.0.235` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.235/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.235/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.235/compatibility-slim/0.0.231)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.235/confidence-slim/0.0.231)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.235`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.235)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.234...v0.0.235)

#### Summary

Follow-up release to `v0.0.234` to fix two non-fatal issues related to
CLI output.

(No new rules or functionality.)

#### What's Changed

- Avoid duplicate CI runs triggered by pushes to pull requests by
[@&#8203;andersk](https://togithub.com/andersk) in
[astral-sh/ruff#2178
- Restore single-file license by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2180
- Windows compatibility by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[astral-sh/ruff#2033
- Remove stray parenthesis from fixed errors message by
[@&#8203;andersk](https://togithub.com/andersk) in
[astral-sh/ruff#2181
- Fix conflicting error message warning by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2182

**Full Changelog**:
astral-sh/ruff@v0.0.234...v0.0.235

###
[`v0.0.234`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.234)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.233...v0.0.234)

#### What's Changed

- Move is_overlong to helpers by
[@&#8203;ericroberts](https://togithub.com/ericroberts) in
[astral-sh/ruff#2137
- Update .pre-commit-config.yml by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#2139
- Avoid generating dirty call paths by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2144
- Implement runtime-import-in-type-checking-block (TYP004) by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2146
- Implement typing-only import detection (TYP001, TYP002, TYP003) by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2147
- Add `#![warn(clippy::pedantic)]` to lib.rs and main.rs files by
[@&#8203;not-my-profile](https://togithub.com/not-my-profile) in
[astral-sh/ruff#2148
- Treat Python 3.7 as minimum supported version by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2159
- Avoid flagging unused loop variable (B007) with locals() by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2161
- Avoid prefer-type-error (TRY004) with intermediary control flow by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2162
- Add an FAQ on autofix by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2163
- Avoid re-resolving settings for repeated paths by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2165
- Suggest input format in error case by
[@&#8203;spaceone](https://togithub.com/spaceone) in
[astral-sh/ruff#2167
- Re-add error wrapper in main.rs by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2168
- fix: avoid flagging unused loop variable (B007) with globals(), vars()
or eval() by [@&#8203;spaceone](https://togithub.com/spaceone) in
[astral-sh/ruff#2166
- Fix singular and plural for "error(s)" by
[@&#8203;hugovk](https://togithub.com/hugovk) in
[astral-sh/ruff#2157
- Add Babel to readme by [@&#8203;akx](https://togithub.com/akx) in
[astral-sh/ruff#2170
- Add flake8-builtins options to README by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2173
- Avoid reraise-no-cause for explicit reraises by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2174
- Rename TYP rules to TYC by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2175
- Actually, rename TYP rules to TCH by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2176

**Full Changelog**:
astral-sh/ruff@v0.0.233...v0.0.234

###
[`v0.0.233`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.233)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.231...v0.0.233)

This is a rerun of `v0.0.232` (unreleased) to address build failures on
Windows.

#### What's Changed

- Move compare to helpers file by
[@&#8203;ericroberts](https://togithub.com/ericroberts) in
[astral-sh/ruff#2131
- Enable executable checks on Windows by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2133

**Full Changelog**:
astral-sh/ruff@v0.0.232...v0.0.233

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTEuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExMS4xIn0=-->

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
tekumara added a commit to seek-oss/aec that referenced this pull request Jan 26, 2023
[ruff now only supports 3.7+](astral-sh/ruff#2159) and errors with a lower target version

Dropping python 3.6 support is OK, as it's [EOL](https://endoflife.date/python), and no longer a supported AWS Lambda runtime. It still ships with Ubuntu 18.04 but that is [EOL in April 2023](https://canonical.com/blog/ubuntu-18-04-lts-end-of-life-keep-your-fleet-of-devices-up-and-running).
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.

COM812 causes syntax error for Python 3.3
1 participant