python / buildmaster-config

Configuration for buildbot.python.org

Home Page:https://buildbot.python.org/all/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`master.utils` submodule fails to import

AlexWaygood opened this issue · comments

(venv) C:\Users\alexw\coding\buildmaster-config>python -c "import master.utils"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\alexw\coding\buildmaster-config\master\utils.py", line 3, in <module>
    from jinja2 import Markup
ImportError: cannot import name 'Markup' from 'jinja2' (C:\Users\alexw\coding\buildmaster-config\venv\Lib\site-packages\jinja2\__init__.py)

jinja.Markup doesn't exist with Jinja2==3.1.2.

Not sure if this submodule is really needed? (I don't really know anything about this codebase.)

REPLACEMENTS and changecommentlink are no longer used. Do you want to propose a PR to remove this file?

REPLACEMENTS and changecommentlink are no longer used. Do you want to propose a PR to remove this file?

Filed #413 to do that. FYI, I found this by running mypy on the codebase -- was curious to see if it would spot anything obvious after #409 (comment) slipped through unnoticed :-)

I should run pyflakes to detect such obvious mistake, twice.