Skip to content

Commit

Permalink
fix: pin edx-lint<5.4
Browse files Browse the repository at this point in the history
to avoid quality error with python 3.8

AttributeError: module 'importlib.resources' has no attribute 'files'
  • Loading branch information
pomegranited committed Aug 29, 2024
1 parent 89c9ba9 commit dbb9dac
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
6 changes: 5 additions & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@
# Common constraints for edx repos
-c common_constraints.txt

backports.zoneinfo;python_version<"3.9"
backports.zoneinfo;python_version<"3.9"

# Temporary until we drop support for python 3.8
# Upgrading causes quality error: AttributeError: module 'importlib.resources' has no attribute 'files'
edx-lint<5.4
6 changes: 4 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ edx-django-release-util==1.4.0
# -r requirements/base.txt
# -r requirements/docs.txt
# -r requirements/test.txt
edx-lint==5.4.0
# via -r requirements/test.txt
edx-lint==5.3.7
# via
# -c requirements/constraints.txt
# -r requirements/test.txt
exceptiongroup==1.2.2
# via
# -r requirements/test.txt
Expand Down
6 changes: 4 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ edx-django-release-util==1.4.0
# via
# -r requirements/base.txt
# -r requirements/docs.txt
edx-lint==5.4.0
# via -r requirements/test.in
edx-lint==5.3.7
# via
# -c requirements/constraints.txt
# -r requirements/test.in
exceptiongroup==1.2.2
# via pytest
factory-boy==3.3.1
Expand Down

0 comments on commit dbb9dac

Please sign in to comment.