Skip to content

Commit

Permalink
Separate requirements for python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
khurram-ghani committed Jan 8, 2024
1 parent 7845944 commit a42a6e0
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ LINT_FILE_IGNORES = "$(LIB_NAME)/__init__.py:F401,F403 \
# Python 3.7 uses a separate test requirements file
ifeq ("$(VERSION_PYTHON)", "3.7")
TEST_REQUIREMENTS = "tests_requirements_37.txt"
else ifeq ("$(VERSION_PYTHON)", "3.8")
TEST_REQUIREMENTS = "tests_requirements_38.txt"
else
TEST_REQUIREMENTS = "tests_requirements.txt"
endif
Expand Down
27 changes: 27 additions & 0 deletions tests_requirements_38.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Test requirements specific to Python 3.8

# Code quality tools:
black==21.7b0
codecov
click==8.0.4
flake8==4.0.1
isort==5.10.1
mypy<1.4.0 # Newer mypy versions cause issues with Python 3.8 ('Self' from 'typing_extensions').
pytest
pytest-cov
pytest-random-order
pytest-mock

# For mypy stubs:
types-Deprecated
numpy

tqdm

# Notebook tests:
jupytext
nbformat
nbconvert
jupyter_client
ipykernel
tornado

0 comments on commit a42a6e0

Please sign in to comment.