-
-
Notifications
You must be signed in to change notification settings - Fork 279
build(python): Sunset Python 3.6 and support Python 3.11 #633
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
build(python): Sunset Python 3.6 and support Python 3.11 #633
Conversation
Build is failing due to By the way, I was surprised the |
Hey thanks a lot for this PR. I'm not sure why is the CI failing tbh.
My understanding (might be outdated), is that locks are for deployable applications (like an app). Without a lock file, you may get into issues (because semver is not perfect, right? a new feature in another library may break us). This means that contributors of this projects may get into trouble, allowing us to fix the problem. In short, is another way for us to find problems. Does it make sense? |
Yes, I think another PR is required just to fix the CI (I will try to have a look tonight, seems related to the For the lock file, I think it would solve the dev/test env stability part. For the library publication, I think this is depending on how the it done by |
797e7d3
to
59dc924
Compare
Codecov ReportBase: 97.92% // Head: 98.36% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #633 +/- ##
==========================================
+ Coverage 97.92% 98.36% +0.44%
==========================================
Files 35 39 +4
Lines 1252 1655 +403
==========================================
+ Hits 1226 1628 +402
- Misses 26 27 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
I integrated #634 in this one as multiple fixes were needed to make the CI green again:
I didn't touch the dependencies that where not requiring an upgrade (can be done there or in another PR, as you want). I added a This should fix the CI ✅ and makes it more resilient to future dependencies update by not staking them. |
@woile Build is passing with those changes and result in clean reproducibles builds as well as Python 3.6 drop and 3.11 support. |
@woile I'm good with these changes and plan to merge it these days. Let me know if there's anything you want to check again :) |
I'm good with it. But I'm just wondering if we want to have this, and then the new plugin system creating multiple Major versions. We'd be at commitizen v4 at that point 😅 I guess I have to break my sentimental attachment to Major versions 🤣 |
59dc924
to
9664de6
Compare
Isn't it possible to have a single version with multiple breaking changes ? To me it is not an issue and totally compliant with conventional commit but maybe I am missing a specific policy on this repository. But it you want to start staking breaking changes maybe there needs to be a BTW: PR updated/rebased on the latest |
You can stake them yes, but we don't have any policies in this repo. Normally I would create a new branch for breaking changes, and send everything there, like you suggest. But for this case, it might make sense, v3 to drop 3.6, and v4 for the new plugin system. @Lee-W ? |
Only thing, I would update this commit: - BREAKING CHANGE: Python 3.6 is not supported anymore
+ BREAKING CHANGE: Python 3.6 is not officially supported anymore. Please migrate from 3.6 to 3.7 or greater. |
Fixes commitizen-tools#607 BREAKING CHANGE: Python 3.6 is not officially supported anymore. Please migrate from 3.6 to 3.7 or greater.
9664de6
to
dd2a887
Compare
👆🏼 Updated 👍🏼 |
Note: I have multiple PRs to submit, some to discuss... 😅 |
I'm actually good with either way. But if we're planning to merge a few breaking changes in a short period, |
Good to me 👍🏼 |
I just created a |
Description
Proposal: This PR sunsets Python 3.6 and adds supports Python 3.11 given Python 3.6 is been sunsetted 1 year ago and lately buils are not running anymore on Python 3.6 (see https://github.com/commitizen-tools/commitizen/pull/631/checks as example).
BREAKING CHANGE: Python 3.6 is not supported anymore
Checklist
./scripts/format
and./scripts/test
locally to ensure this change passes linter check and testExpected behavior
New package don't advertise support for Python 3.6 anymore
CI stop running on Python 3.6
Python 3.11 support is now tested in CI
CI is green again
Additional context
Fixes #607
I permitted myself to submit this PR because builds are now failing on Python 3.6 for new PR like mine: #632