diff --git a/README.md b/README.md index a3586bf..610d7e7 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ If you are having any difficulties, We suggest you watch the [getting started vi * [Github actions](https://github.com/approvals/ApprovalTests.Python.StarterProject/actions/workflows/test.yml) - CI that runs your tests on Mac, Windows & Linux This is also what powers the green 'passing' badge at the top of this document * `requirements.txt` - standard place to include all your [pip dependiences from pypi](https://pypi.org/) +* `constraints.txt` - standard pinned versions of pip dependencies, including transitive dependencies * `tox.ini' - A working [tox file](https://tox.wiki/en/latest/) * `tests` & `project` folders - to keep your production code and tests seperate * Sample tests that pass - to get you off to a great start diff --git a/constraints.txt b/constraints.txt new file mode 100644 index 0000000..3af09e3 --- /dev/null +++ b/constraints.txt @@ -0,0 +1,24 @@ +allpairspy==2.5.0 +approval-utilities==7.2.0 +approvaltests==7.2.0 +attrs==22.1.0 +beautifulsoup4==4.11.1 +certifi==2022.9.24 +charset-normalizer==2.1.1 +colorama==0.4.6 +empty-files==0.0.3 +exceptiongroup==1.0.0 +idna==3.4 +iniconfig==1.1.1 +mrjob==0.7.4 +packaging==21.3 +pluggy==1.0.0 +pyparsing==3.0.9 +pyperclip==1.5.27 +pytest==7.2.0 +PyYAML==6.0 +requests==2.28.1 +six==1.16.0 +soupsieve==2.3.2.post1 +tomli==2.0.1 +urllib3==1.26.12 diff --git a/tox.ini b/tox.ini index b2c52fb..b643908 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ envlist = tests-{py38,py39} [testenv] commands = python -m pytest {posargs} deps = -rrequirements.txt +setenv = PIP_CONSTRAINT=constraints.txt [testenv:dev] usedevelop = True