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

Flake8 5.0.0: NotImplementedError: what plugin type? #264

Open
yamnikov-oleg opened this issue Aug 1, 2022 · 6 comments
Open

Flake8 5.0.0: NotImplementedError: what plugin type? #264

yamnikov-oleg opened this issue Aug 1, 2022 · 6 comments

Comments

@yamnikov-oleg
Copy link

flake8 5.0.0 breaks teamcity-messages:

Traceback (most recent call last):
  File "/home/ubuntu/BuildAgent/work/4dc31e662c1dfae/.venv/bin/flake8", line 8, in <module>
    sys.exit(main())
  File "/home/ubuntu/BuildAgent/work/4dc31e662c1dfae/.venv/lib/python3.8/site-packages/flake8/main/cli.py", line 22, in main
    app.run(argv)
  File "/home/ubuntu/BuildAgent/work/4dc31e662c1dfae/.venv/lib/python3.8/site-packages/flake8/main/application.py", line 336, in run
    self._run(argv)
  File "/home/ubuntu/BuildAgent/work/4dc31e662c1dfae/.venv/lib/python3.8/site-packages/flake8/main/application.py", line 324, in _run
    self.initialize(argv)
  File "/home/ubuntu/BuildAgent/work/4dc31e662c1dfae/.venv/lib/python3.8/site-packages/flake8/main/application.py", line 302, in initialize
    self.find_plugins(
  File "/home/ubuntu/BuildAgent/work/4dc31e662c1dfae/.venv/lib/python3.8/site-packages/flake8/main/application.py", line 128, in find_plugins
    self.plugins = finder.load_plugins(raw, opts)
  File "/home/ubuntu/BuildAgent/work/4dc31e662c1dfae/.venv/lib/python3.8/site-packages/flake8/plugins/finder.py", line 370, in load_plugins
    return _classify_plugins(_import_plugins(plugins, opts), opts)
  File "/home/ubuntu/BuildAgent/work/4dc31e662c1dfae/.venv/lib/python3.8/site-packages/flake8/plugins/finder.py", line 340, in _classify_plugins
    raise NotImplementedError(f"what plugin type? {loaded}")
NotImplementedError: what plugin type? LoadedPlugin(plugin=Plugin(package='teamcity-messages', version='1.31', entry_point=EntryPoint(name='teamcity-messages', value='teamcity.flake8_plugin:TeamcityReport', group='flake8.extension')), obj=<class 'teamcity.flake8_v3_plugin.TeamcityReport'>, parameters={'options': True})

The traceback is from flake8 5.0.1, but I suppose the breaking update is 5.0.0.

@ikrivosheev
Copy link

Hello! When can we expect publication on pypi?)

@martin-thoma
Copy link

Is there even a fix?

@lego963
Copy link

lego963 commented Oct 19, 2022

Is there even a fix?

yes, they've released 1.32, but didn't publish on pypi :D

@martin-thoma
Copy link

@mikekidya Could you push teamcity-messages==1.32 to PyPI?

See:

@mikekidya
Copy link
Member

Hi! Sorry for the delay, the release is here
https://pypi.org/project/teamcity-messages/1.32/

Please let me know if anything is not working for you

@g-rutter
Copy link

g-rutter commented Dec 15, 2022

@mikekidya Could we please get the conda forge package released? conda-forge/teamcity-messages-feedstock#4

Edit: It's done, thanks

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

No branches or pull requests

6 participants