-
Notifications
You must be signed in to change notification settings - Fork 3
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
Migrate setup.py to pyproject.toml #8
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8 +/- ##
==========================================
+ Coverage 93.97% 93.98% +0.01%
==========================================
Files 18 18
Lines 548 549 +1
Branches 106 106
==========================================
+ Hits 515 516 +1
Misses 23 23
Partials 10 10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Let's do a direct-to-pyproject conversion instead, after we release the last WDYT? If the current setup will do us "one last release", let it be. I guess I should also be the first name / contact person (with everything redirecting here). |
ccd301e
to
fdb4b77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I defered changing the actual content of the metadata to another PR because it's hard enough to review as is 😄 But yeah it should be changed (at least the version)
Maybe let's release a last version using setup.py first, it's going to be easier to do that if we drop support for python 3.6 first (Also 3.7 is EOL too). |
If py3.6 makes it hard for us to move forward, let's do it. However, "are there people still depending on it"? 😕 Is there ... some kind of dashboard that would show us downloads/month per python version? |
https://pypistats.org/packages/pylint-pytest Seems pretty fine to do. |
I think we could release alphas to test the release workflow right now, release the last python 3.6 compatible version, then get on the pylint 3.0 compat, and release a new version not compatible with python 3.6 / 3.7 (everything with linter is just nice to have for long term maintenance). |
WdYT ?
|
28f4be8
to
df9a991
Compare
df9a991
to
b80fe43
Compare
I was thinking: https://github.com/pylint-dev/pylint-pytest/milestone/1
https://github.com/pylint-dev/pylint-pytest/milestone/2
|
Step 1/2 in #10 |
4f06921
to
71848d7
Compare
Probably #13 touches here |
ea0571c
to
3cbbfc6
Compare
# By Stavros Ntentos (14) and others # Via GitHub (10) and Stavros Ntentos (1) * master: Update/Prepare Changelog for v1.1.7 use pylint v3 in the repo remove support of pylint v1 Support pylint v3 Release v1.1.6 Minor `.github/ISSUE_TEMPLATE/bug_report.md` improvement Release v1.1.5 Improve copy-paste docstring from 8756cc4 Fix tests running via PyCharm Move `--cov-report=html` to `addopts` Windows Artifacts have incorrect Slugification Release v1.1.4 Extend coverage for `if node.name in FixtureChecker._pytest_fixtures[fixname][0].argnames:` Make `nsp/nate/better-unused-argument` merge-able with `origin/master` Improve `F6401`:`cannot-enumerate-pytest-fixtures`: 🐛 Ignore collection failures in non-tests removes more false positives for unused-argument Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com> # Conflicts: # .github/workflows/run-tests.yaml # CHANGELOG.md # setup.py # tests/base_tester.py # tox.ini Additionally, some minor format modifications at `CHANGELOG.md`
This reverts commit b8ce4ad. Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
* Move everything from the setup.cfg to pyproject.toml * Drop python 3.6 and 3.7 #8 (comment) * Upgrade python version to python 3.8 in tooling configuration Co-authored-by: Irtaza Akram <irtaza.akram@arbisoft.com> --------- Co-authored-by: Irtaza Akram <irtaza.akram@arbisoft.com> Co-authored-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
cbdc008
to
05e6359
Compare
# By Pierre Sassoulas (3) and Stavros Ntentos (1) * master: Release v1.1.7 Upgrade python version to python 3.8 in tooling configuration Drop python 3.6 and 3.7 Move everything from the setup.cfg to pyproject.toml Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
for more information, see https://pre-commit.ci
Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
It seems so 😅 Looking back at the commit, I don't really get what fixed it. The error was highly-esoteric:
(https://github.com/pylint-dev/pylint-pytest/actions/runs/6508313960/job/17677430135?pr=1#step:5:1587, for only a couple of tests: https://github.com/pylint-dev/pylint-pytest/actions/runs/6508313960/job/17677430135?pr=1#step:5:117) But the Actions are unambiguous: It's fixed: |
Astroid was upgraded to be able to handle a new construct from python 3.12 |
Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 🎉 🎉 🎉 🎉
Great 🎉 !! |
# Added * Migrate setup.py to pyproject.toml (#8) * Support for Python 3.12 (#3, "side effect" of #8) * Introduced @dependabot (part of #28) * Improved reliability of the `FixtureChecker` class (#29) # Removed * Support for Python 3.6 & 3.7 (#23) # Improved * Increased reproducibility of the project, by using `pip-compile` for the development dependencies (#28, small bugfix in #39) * Minor CI + License updates (in 29f0c33, e0e529a, 8f56d1c) Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
# Added * Increased reproducibility of the project, by using `pip-compile` for the development dependencies (#28, small bugfix in #39) * Introduced @dependabot (part of #28) # Removed * Support for Python 3.6 & 3.7 (#23) # Improved * Migrate setup.py to pyproject.toml (#8) * Support for Python 3.12 (#3, "side effect" of #8) * Improved reliability of the `FixtureChecker` class (#29) * Minor CI + License updates (in 29f0c33, e0e529a, 8f56d1c) Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
# Added * Increased reproducibility of the project, by using `pip-compile` for the development dependencies (#28, small bugfix in #39) * Introduced @dependabot (part of #28) # Removed * Support for Python 3.6 & 3.7 (#23) # Improved * Migrate setup.py to pyproject.toml (#8) * Support for Python 3.12 (#3, "side effect" of #8) * Improved reliability of the `FixtureChecker` class (#29) * Minor CI + License updates (in 29f0c33, e0e529a, 8f56d1c) Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
Additionally, fixes #3