Skip to content

Commit

Permalink
Add constraints.txt (#975)
Browse files Browse the repository at this point in the history
* Add constraints.txt

* setup_requires

* Revert "setup_requires"

This reverts commit 48f929d.
  • Loading branch information
anniel-stripe committed Jun 7, 2023
1 parent 2c35877 commit 5f688ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ venv: $(VENV_NAME)/bin/activate
$(VENV_NAME)/bin/activate: setup.py
$(PIP) install --upgrade pip virtualenv
@test -d $(VENV_NAME) || $(PYTHON) -m virtualenv --clear $(VENV_NAME)
${VENV_NAME}/bin/python -m pip install -U pip tox twine "cryptography<40"
${VENV_NAME}/bin/python -m pip install -U pip tox twine -c constraints.txt
${VENV_NAME}/bin/python -m pip install -e .
@touch $(VENV_NAME)/bin/activate

Expand Down
2 changes: 2 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# cryptography 40.0.0 deprecates support for Python 3.6 and PyPy3 < 7.3.10
cryptography<40

0 comments on commit 5f688ba

Please sign in to comment.