From 94a79b9fa8d07988787a69e6394ab47585fe9bcb Mon Sep 17 00:00:00 2001 From: josh-hadley Date: Sat, 23 Jul 2022 12:05:50 -0700 Subject: [PATCH 1/2] [dependencies] update pytest things - remove explicit listing of coverage and pytest since pytest-cov has dependencies for both - sync dev-requirements.txt and setup.py extras_require --- dev-requirements.txt | 3 +-- setup.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 52714d0aa..6683bcadc 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,4 +1,3 @@ -coverage>=5.0.1 -pytest==7.1.2 pytest-cov==3.0.0 pytest-xdist==2.5.0 +pytest-randomly==3.12 diff --git a/setup.py b/setup.py index ee7cbc92e..aa69352b7 100644 --- a/setup.py +++ b/setup.py @@ -588,7 +588,6 @@ def run(self): ], extras_require={ "testing": [ - "pytest >=7.1.2, <8", "pytest-cov >=3, <4", "pytest-xdist >=2.5.0, <2.6.0", "pytest-randomly >=3.12, <4", From 674fb6cea4b9637118d0c4db6dcc7c0304b5af6d Mon Sep 17 00:00:00 2001 From: josh-hadley Date: Sat, 23 Jul 2022 19:48:46 -0700 Subject: [PATCH 2/2] [dependencies] remove pytest-randomly pytest-randomly was reintroduced as part of a [dependencies sync](https://github.com/adobe-type-tools/psautohint/commit/94a79b9fa8d07988787a69e6394ab47585fe9bcb), but if seems to cause an occasional test failure in CI. Removing it for now. --- dev-requirements.txt | 1 - setup.py | 1 - 2 files changed, 2 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 6683bcadc..dabd0a841 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,3 +1,2 @@ pytest-cov==3.0.0 pytest-xdist==2.5.0 -pytest-randomly==3.12 diff --git a/setup.py b/setup.py index aa69352b7..8fcd00e2c 100644 --- a/setup.py +++ b/setup.py @@ -590,7 +590,6 @@ def run(self): "testing": [ "pytest-cov >=3, <4", "pytest-xdist >=2.5.0, <2.6.0", - "pytest-randomly >=3.12, <4", ], }, cmdclass=cmdclass,