Skip to content

Commit

Permalink
fix: include setuptools in requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Mar 4, 2024
1 parent 498dacf commit 13f5f0a
Show file tree
Hide file tree
Showing 11 changed files with 170 additions and 131 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version:
- '3.8'
- '3.12'
python-version: ['3.8', '3.12']
toxenv: [quality, django42]

steps:
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
pip install -qr requirements/pip-tools.txt
# Make sure to compile files after any other files they include!
pip-compile --upgrade --allow-unsafe --rebuild -o requirements/pip.txt requirements/pip.in
pip-compile --upgrade -o requirements/pip-tools.txt requirements/pip-tools.in
pip-compile --upgrade --allow-unsafe -o requirements/pip-tools.txt requirements/pip-tools.in
pip install -qr requirements/pip.txt
pip install -qr requirements/pip-tools.txt
pip-compile --upgrade -o requirements/base.txt requirements/base.in
pip-compile --upgrade -o requirements/test.txt requirements/test.in
pip-compile --upgrade -o requirements/quality.txt requirements/quality.in
pip-compile --upgrade -o requirements/ci.txt requirements/ci.in
pip-compile --upgrade -o requirements/dev.txt requirements/dev.in
pip-compile --upgrade --allow-unsafe -o requirements/base.txt requirements/base.in
pip-compile --upgrade --allow-unsafe -o requirements/test.txt requirements/test.in
pip-compile --upgrade --allow-unsafe -o requirements/quality.txt requirements/quality.in
pip-compile --upgrade --allow-unsafe -o requirements/ci.txt requirements/ci.in
pip-compile --upgrade --allow-unsafe -o requirements/dev.txt requirements/dev.in
# Let tox control the Django version for tests
sed '/^[dD]jango==/d' requirements/test.txt > requirements/test.tmp
mv requirements/test.tmp requirements/test.txt
Expand Down
1 change: 1 addition & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Django # Web application framework
django-model-utils # Provides TimeStampedModel abstract base class
edx-opaque-keys>=0.2.1 # Create and introspect course and xblock identities
six # Utilities for supporting Python 2 & 3 in the same codebase
setuptools
18 changes: 11 additions & 7 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,32 @@
#
asgiref==3.7.2
# via django
django==3.2.22
backports-zoneinfo==0.2.1
# via django
django==4.2.11
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/base.in
# django-model-utils
django-model-utils==4.3.1
django-model-utils==4.4.0
# via -r requirements/base.in
edx-opaque-keys==2.5.1
# via -r requirements/base.in
pbr==5.11.1
pbr==6.0.0
# via stevedore
pymongo==3.13.0
# via edx-opaque-keys
pytz==2023.3.post1
# via django
six==1.16.0
# via -r requirements/base.in
sqlparse==0.4.4
# via django
stevedore==5.1.0
stevedore==5.2.0
# via edx-opaque-keys
typing-extensions==4.8.0
typing-extensions==4.10.0
# via
# asgiref
# edx-opaque-keys

# The following packages are considered to be unsafe in a requirements file:
setuptools==69.1.1
# via -r requirements/base.in
36 changes: 22 additions & 14 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,35 @@
#
# make upgrade
#
distlib==0.3.7
cachetools==5.3.3
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.8
# via virtualenv
filelock==3.12.4
filelock==3.13.1
# via
# tox
# virtualenv
packaging==23.2
# via
# pyproject-api
# tox
platformdirs==4.2.0
# via
# tox
# virtualenv
pluggy==1.4.0
# via tox
platformdirs==3.11.0
# via virtualenv
pluggy==1.3.0
# via tox
py==1.11.0
# via tox
six==1.16.0
pyproject-api==1.6.1
# via tox
tomli==2.0.1
# via tox
tox==3.28.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/ci.in
virtualenv==20.24.5
# pyproject-api
# tox
tox==4.13.0
# via -r requirements/ci.in
virtualenv==20.25.1
# via tox
110 changes: 64 additions & 46 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,27 @@ asgiref==3.7.2
# via
# -r requirements/quality.txt
# django
astroid==3.0.1
astroid==3.1.0
# via
# -r requirements/quality.txt
# pylint
# pylint-celery
build==1.0.3
backports-zoneinfo==0.2.1
# via
# -r requirements/quality.txt
# django
build==1.1.1
# via
# -r requirements/pip-tools.txt
# pip-tools
cachetools==5.3.3
# via
# -r requirements/ci.txt
# tox
chardet==5.2.0
# via
# -r requirements/ci.txt
# tox
click==8.1.7
# via
# -r requirements/pip-tools.txt
Expand All @@ -29,60 +41,63 @@ click-log==0.4.0
# via
# -r requirements/quality.txt
# edx-lint
code-annotations==1.5.0
code-annotations==1.6.0
# via
# -r requirements/quality.txt
# edx-lint
coverage[toml]==7.3.2
colorama==0.4.6
# via
# -r requirements/ci.txt
# tox
coverage[toml]==7.4.3
# via
# -r requirements/quality.txt
# coverage
# pytest-cov
dill==0.3.7
dill==0.3.8
# via
# -r requirements/quality.txt
# pylint
distlib==0.3.7
distlib==0.3.8
# via
# -r requirements/ci.txt
# virtualenv
django==3.2.22
django==4.2.11
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/quality.txt
# django-model-utils
django-model-utils==4.3.1
django-model-utils==4.4.0
# via -r requirements/quality.txt
edx-lint==5.3.4
edx-lint==5.3.6
# via -r requirements/quality.txt
edx-opaque-keys==2.5.1
# via -r requirements/quality.txt
exceptiongroup==1.1.3
exceptiongroup==1.2.0
# via
# -r requirements/quality.txt
# pytest
filelock==3.12.4
filelock==3.13.1
# via
# -r requirements/ci.txt
# tox
# virtualenv
importlib-metadata==6.8.0
importlib-metadata==7.0.1
# via
# -r requirements/pip-tools.txt
# build
iniconfig==2.0.0
# via
# -r requirements/quality.txt
# pytest
isort==5.12.0
isort==5.13.2
# via
# -r requirements/quality.txt
# pylint
jinja2==3.1.2
jinja2==3.1.3
# via
# -r requirements/quality.txt
# code-annotations
markupsafe==2.1.3
markupsafe==2.1.5
# via
# -r requirements/quality.txt
# jinja2
Expand All @@ -96,35 +111,33 @@ packaging==23.2
# -r requirements/pip-tools.txt
# -r requirements/quality.txt
# build
# pyproject-api
# pytest
# tox
pbr==5.11.1
pbr==6.0.0
# via
# -r requirements/quality.txt
# stevedore
pip-tools==7.3.0
pip-tools==7.4.0
# via -r requirements/pip-tools.txt
platformdirs==3.11.0
platformdirs==4.2.0
# via
# -r requirements/ci.txt
# -r requirements/quality.txt
# pylint
# tox
# virtualenv
pluggy==1.3.0
pluggy==1.4.0
# via
# -r requirements/ci.txt
# -r requirements/quality.txt
# pytest
# tox
py==1.11.0
# via
# -r requirements/ci.txt
# tox
pycodestyle==2.11.1
# via -r requirements/quality.txt
pydocstyle==6.3.0
# via -r requirements/quality.txt
pylint==3.0.2
pylint==3.1.0
# via
# -r requirements/quality.txt
# edx-lint
Expand All @@ -135,7 +148,7 @@ pylint-celery==0.3
# via
# -r requirements/quality.txt
# edx-lint
pylint-django==2.5.4
pylint-django==2.5.5
# via
# -r requirements/quality.txt
# edx-lint
Expand All @@ -148,37 +161,36 @@ pymongo==3.13.0
# via
# -r requirements/quality.txt
# edx-opaque-keys
pyproject-api==1.6.1
# via
# -r requirements/ci.txt
# tox
pyproject-hooks==1.0.0
# via
# -r requirements/pip-tools.txt
# build
pytest==7.4.2
# pip-tools
pytest==8.1.0
# via
# -r requirements/quality.txt
# pytest-cov
# pytest-django
pytest-cov==4.1.0
# via -r requirements/quality.txt
pytest-django==4.5.2
pytest-django==4.8.0
# via -r requirements/quality.txt
python-slugify==8.0.1
python-slugify==8.0.4
# via
# -r requirements/quality.txt
# code-annotations
pytz==2023.3.post1
# via
# -r requirements/quality.txt
# django
pyyaml==6.0.1
# via
# -r requirements/quality.txt
# code-annotations
six==1.16.0
# via
# -r requirements/ci.txt
# -r requirements/quality.txt
# edx-lint
# tox
snowballstemmer==2.2.0
# via
# -r requirements/quality.txt
Expand All @@ -187,7 +199,7 @@ sqlparse==0.4.4
# via
# -r requirements/quality.txt
# django
stevedore==5.1.0
stevedore==5.2.0
# via
# -r requirements/quality.txt
# code-annotations
Expand All @@ -205,29 +217,28 @@ tomli==2.0.1
# coverage
# pip-tools
# pylint
# pyproject-api
# pyproject-hooks
# pytest
# tox
tomlkit==0.12.1
tomlkit==0.12.4
# via
# -r requirements/quality.txt
# pylint
tox==3.28.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/ci.txt
typing-extensions==4.8.0
tox==4.13.0
# via -r requirements/ci.txt
typing-extensions==4.10.0
# via
# -r requirements/quality.txt
# asgiref
# astroid
# edx-opaque-keys
# pylint
virtualenv==20.24.5
virtualenv==20.25.1
# via
# -r requirements/ci.txt
# tox
wheel==0.41.2
wheel==0.42.0
# via
# -r requirements/pip-tools.txt
# pip-tools
Expand All @@ -237,5 +248,12 @@ zipp==3.17.0
# importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
pip==24.0
# via
# -r requirements/pip-tools.txt
# pip-tools
setuptools==69.1.1
# via
# -r requirements/pip-tools.txt
# -r requirements/quality.txt
# pip-tools
Loading

0 comments on commit 13f5f0a

Please sign in to comment.