-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
Upgrade python to 3.10.0 #834
Conversation
Bumps python from 3.9.7-alpine3.13 to 3.10.0-alpine3.13. --- updated-dependencies: - dependency-name: python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…alpine3.13' into dependencies/updatePython
Mega-Linter status:
|
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ BASH | bash-exec | 6 | 0 | 1.41s | |
✅ BASH | shellcheck | 6 | 0 | 1.64s | |
✅ BASH | shfmt | 6 | 0 | 0 | 1.4s |
✅ COPYPASTE | jscpd | yes | no | 2.77s | |
✅ CREDENTIALS | secretlint | yes | no | 3.4s | |
✅ CSS | stylelint | 1 | 0 | 0 | 1.47s |
✅ DOCKERFILE | dockerfilelint | 1 | 0 | 0.52s | |
✅ DOCKERFILE | hadolint | 1 | 0 | 1.12s | |
✅ GIT | git_diff | yes | no | 0.23s | |
✅ JSON | eslint-plugin-jsonc | 20 | 0 | 0 | 2.9s |
✅ JSON | jsonlint | 19 | 0 | 11.79s | |
✅ JSON | v8r | 20 | 0 | 19.41s | |
✅ MARKDOWN | markdownlint | 195 | 0 | 0 | 5.67s |
✅ MARKDOWN | markdown-link-check | 195 | 0 | 139.02s | |
✅ MARKDOWN | markdown-table-formatter | 195 | 0 | 0 | 5.23s |
✅ OPENAPI | spectral | 1 | 0 | 1.8s | |
bandit | 140 | 64 | 2.71s | ||
✅ PYTHON | black | 140 | 0 | 0 | 3.48s |
✅ PYTHON | flake8 | 140 | 0 | 2.77s | |
✅ PYTHON | isort | 140 | 0 | 0 | 0.62s |
✅ PYTHON | mypy | 140 | 0 | 79.64s | |
✅ PYTHON | pylint | 140 | 0 | 19.62s | |
✅ SPELL | cspell | 465 | 0 | 44.58s | |
✅ SPELL | misspell | 312 | 0 | 0 | 0.53s |
✅ XML | xmllint | 2 | 0 | 0.24s | |
✅ YAML | prettier | 77 | 0 | 0 | 4.41s |
✅ YAML | v8r | 20 | 0 | 32.36s | |
✅ YAML | yamllint | 78 | 0 | 1.7s |
See errors details in artifact Mega-Linter reports on GitHub Action page
Black recently (literally 14 hours ago) added support for Python 3.10 at version 21.11b1, and it looks like your automation already picked up that change, so I believe this PR is unblocked unless there is another linter that can't yet handle Python 3.10 that I'm unaware of. |
@Kurt-von-Laven good catch, let's see what CI says :) |
MegaLinter status:
|
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ BASH | bash-exec | 6 | 0 | 0.02s | |
✅ BASH | shellcheck | 6 | 0 | 0.26s | |
✅ BASH | shfmt | 6 | 0 | 0 | 1.42s |
✅ COPYPASTE | jscpd | yes | no | 1.91s | |
✅ CREDENTIALS | secretlint | yes | no | 3.16s | |
✅ DOCKERFILE | dockerfilelint | 1 | 0 | 0.22s | |
✅ DOCKERFILE | hadolint | 1 | 0 | 0.69s | |
✅ GIT | git_diff | yes | no | 0.23s | |
✅ JSON | eslint-plugin-jsonc | 21 | 0 | 0 | 2.21s |
✅ JSON | jsonlint | 19 | 0 | 4.29s | |
✅ JSON | v8r | 21 | 0 | 13.36s | |
✅ MARKDOWN | markdownlint | 197 | 0 | 0 | 4.81s |
✅ MARKDOWN | markdown-link-check | 197 | 0 | 42.82s | |
✅ MARKDOWN | markdown-table-formatter | 197 | 0 | 0 | 4.53s |
✅ OPENAPI | spectral | 1 | 0 | 1.05s | |
bandit | 143 | 64 | 2.2s | ||
✅ PYTHON | black | 143 | 0 | 0 | 2.89s |
✅ PYTHON | flake8 | 143 | 0 | 1.99s | |
✅ PYTHON | isort | 143 | 0 | 0 | 0.53s |
✅ PYTHON | mypy | 143 | 0 | 61.53s | |
✅ PYTHON | pylint | 143 | 0 | 17.53s | |
✅ SPELL | cspell | 469 | 0 | 26.5s | |
✅ SPELL | misspell | 314 | 0 | 0 | 0.46s |
✅ XML | xmllint | 2 | 0 | 0.01s | |
✅ YAML | prettier | 77 | 0 | 0 | 3.42s |
✅ YAML | v8r | 20 | 0 | 21.32s | |
✅ YAML | yamllint | 78 | 0 | 1.38s |
See errors details in artifact MegaLinter reports on GitHub Action page
This pull request has been automatically marked as stale because it has not had recent activity. If you think this pull request should stay open, please remove the |
I am curious whether upgrading rstfmt and rstcheck would address the build errors at this point, so I clicked "Update branch." |
Well, that changed the error message:
Is this possibly a build pipeline issue? |
The issue is probably from the docker build step before :) |
@Kurt-von-Laven FYI -> sgerrand/alpine-pkg-glibc#169 :( |
Oof; I see. I wish it were released via some stable package manager, but personally I don’t know that I want MegaLinter to be in the business of packaging its dependencies at this stage of the project since there are so many wonderful linters that we could add instead for less effort. Maybe we can cache the package since GitHub Actions recently expanded its cache limit to 10 GB? Or maybe add retry logic and/or incremental downloading in case the connection fails? What would happen if we eliminated the dependency altogether? |
I think it's used only for dart linter... |
By the way, with python 3.10, only test failures are rstfcheck and rstfmt. FAILED /tests/test_/linters/rst_rstcheck_test.py::rst_rstcheck_test::test_get_linter_help |
I might be missing something, but I believe we can simply use GitHub's cache action. Is TL;DR I wholeheartedly agree about removing rstcheck and rstfmt for v6. StackOverflow has 1,155 questions tagged reStructuredText, so it sounds like it's a documentation format that is essentially only used by a small handful of Python developers. There were only 8 hits for rstcheck, so it looks like most folks using reStructuredText don't use rstcheck, and like you say the project is no longer seeing releases. rstfmt had a release 3 months ago, but their README opens with: "Highly experimental and unstable. Do not depend on this yet." My intuition overall is that MegaLinter users as a whole will probably prefer having a lot of tools that play nice together out of the box to having even more tools but also more headaches. On top of that, we could easily end up getting completely bogged down by maintenance if we aren't careful. I'm sure we will hear from our users if reStructuredText is very important to them. |
Agreed, let's kill them in next version :D |
This pull request has been automatically marked as stale because it has not had recent activity. If you think this pull request should stay open, please remove the |
Upgrade python to 3.10.0