-
Notifications
You must be signed in to change notification settings - Fork 17
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
Not compatible with flake8-5.0.0 #30
Comments
reproduced with python3.8, flake version 5.0.1 on ubuntu20 |
if the issue is not going to be solved soon, at least update the requirements in requirements = [
'jinja2>=3.1.0',
'pygments>=2.2.0',
'flake8>=3.3.0,<5.0.0',
'importlib-metadata;python_version<"3.8"',
] |
Test runs (`linters-diff-ci`) end up with an error: Traceback (most recent call last): File "/home/zuul/src/gerrithub.io/Telecominfraproject/oopt-gnpy/.tox/linters-diff-ci/bin/flake8", line 8, in <module> sys.exit(main()) File "/home/zuul/src/gerrithub.io/Telecominfraproject/oopt-gnpy/.tox/linters-diff-ci/lib/python3.10/site-packages/flake8/main/cli.py", line 22, in main app.run(argv) File "/home/zuul/src/gerrithub.io/Telecominfraproject/oopt-gnpy/.tox/linters-diff-ci/lib/python3.10/site-packages/flake8/main/application.py", line 336, in run self._run(argv) File "/home/zuul/src/gerrithub.io/Telecominfraproject/oopt-gnpy/.tox/linters-diff-ci/lib/python3.10/site-packages/flake8/main/application.py", line 326, in _run self.report() File "/home/zuul/src/gerrithub.io/Telecominfraproject/oopt-gnpy/.tox/linters-diff-ci/lib/python3.10/site-packages/flake8/main/application.py", line 321, in report self.formatter.stop() File "/home/zuul/src/gerrithub.io/Telecominfraproject/oopt-gnpy/.tox/linters-diff-ci/lib/python3.10/site-packages/flake8_html/plugin.py", line 245, in stop self.write_index() File "/home/zuul/src/gerrithub.io/Telecominfraproject/oopt-gnpy/.tox/linters-diff-ci/lib/python3.10/site-packages/flake8_html/plugin.py", line 281, in write_index versions=self.option_manager.generate_versions(), AttributeError: 'OptionManager' object has no attribute 'generate_versions' ERROR: InvocationError for command /home/zuul/src/gerrithub.io/Telecominfraproject/oopt-gnpy/.tox/linters-diff-ci/bin/flake8 --format html --htmldir linters --exit-zero (exited with code 1) Bug: lordmauve/flake8-html#30 Change-Id: I755877341dec2d9cd9bdcdab098e2067f783cc27
Still not compatible with flake8 v6.0.0. |
Is there some actively maintained fork? |
You might try with v0.4.3. |
Thanks a lot, works for me! |
Can v0.4.3 be installed from pypi? |
@iuiu34 worked for me |
last version is v0.4.2, is it not? |
Oh, you're right, I downloaded and installed manually, sorry |
When will it be possible to get version 0.4.3 from pypi? |
Hi, sorry, I tagged 0.4.3 but release automation failed. If anyone can help with fixing that I can do a release. I can't fix it myself at the moment because I don't have access to my laptop. |
That should be fixed via #38, see the CI run here. |
I pulled 0.4.3 today from pypi and it works great with flake8 6.x! 🥳 |
Description
New version of flake8 was released (5.0.0): https://flake8.pycqa.org/en/latest/release-notes/5.0.0.html
flake8-html is not compatible with it and errors out with the following error:
What I Did
Simply installed flake8 using a dockerfile with command:
The text was updated successfully, but these errors were encountered: