Skip to content

Commit

Permalink
add setuptools to json_schemas to fix error
Browse files Browse the repository at this point in the history
Traceback (most recent call last):
  File "/Users/kevin/workspaces/hochfrequenz/ahbicht/json_schemas/generate_json_schemas.py", line 11, in <module>
    from marshmallow_jsonschema import JSONSchema  # type:ignore[import]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/kevin/workspaces/hochfrequenz/ahbicht/.tox/json_schemas/lib/python3.12/site-packages/marshmallow_jsonschema/__init__.py", line 1, in <module>
    from pkg_resources import get_distribution
ModuleNotFoundError: No module named 'pkg_resources'
  • Loading branch information
hf-krechan committed Sep 24, 2024
1 parent ff67f2d commit f2b6e3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,6 @@ usedevelop = True
deps =
-r requirements.txt
.[json_schemas]
setuptools
commands =
python json_schemas/generate_json_schemas.py

0 comments on commit f2b6e3c

Please sign in to comment.