Skip to content

Commit

Permalink
Improve pinning of importlib-metadata for compatability reasons.
Browse files Browse the repository at this point in the history
Only impacts certain version of Python, where the `flake8` package
is trying to get the entrypoints of a package using a deprecated
method of importlib-metadata. Basically just an issue with the
package dependencies not being defined very well downstream.
  • Loading branch information
PacificGilly committed Mar 21, 2024
1 parent 60de2a0 commit a56b972
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ deps =
black
beautifulsoup4
dj-database-url
importlib-metadata==4.13.0
factory-boy
python3.6: importlib-metadata<5.0 # Needed for compatibility reasons - https://stackoverflow.com/a/73932581
python3.7: importlib-metadata<5.0 # Needed for compatibility reasons - https://stackoverflow.com/a/73932581
django2: Django<3
django3: Django<4
django4: Django<5
Expand Down

0 comments on commit a56b972

Please sign in to comment.