From 50f2e82165ce6effa4ce34a86935598316f66f1a Mon Sep 17 00:00:00 2001 From: Jacob Floyd Date: Thu, 3 Nov 2022 22:49:09 -0500 Subject: [PATCH 1/4] pants: configure [python].interpreter_constraints --- pants.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pants.toml b/pants.toml index a0d10cac67..7b01622d21 100644 --- a/pants.toml +++ b/pants.toml @@ -84,6 +84,13 @@ root_patterns = [ "/st2common/benchmarks/micro", ] +[python] +interpreter_constraints = [ + # python_distributions needs a single constraint (vs one line per python version). + # officially, we exclude 3.7 support, but that adds unnecessary complexity: "CPython>=3.6,!=3.7.*,<3.9", + "CPython>=3.6,<3.9", +] + [python-infer] # https://www.pantsbuild.org/docs/reference-python-infer#unowned_dependency_behavior # The default changed from "ignore" to "warning" in pants 2.14. From 15c9129c19b3ded189ae63d265ad66b747884173 Mon Sep 17 00:00:00 2001 From: Jacob Floyd Date: Thu, 3 Nov 2022 22:49:43 -0500 Subject: [PATCH 2/4] regenerate tool lockfiles to use interpreter_constraints --- lockfiles/bandit.lock | 224 ++++++++++++++---------------------------- lockfiles/black.lock | 10 +- lockfiles/flake8.lock | 94 +++++++----------- 3 files changed, 113 insertions(+), 215 deletions(-) diff --git a/lockfiles/bandit.lock b/lockfiles/bandit.lock index b6599ba4e6..9773d9c84a 100644 --- a/lockfiles/bandit.lock +++ b/lockfiles/bandit.lock @@ -6,7 +6,7 @@ // { // "version": 3, // "valid_for_interpreter_constraints": [ -// "CPython<4,>=3.7" +// "CPython<3.9,>=3.6" // ], // "generated_with_requirements": [ // "bandit==1.7.0", @@ -77,97 +77,85 @@ "artifacts": [ { "algorithm": "sha256", - "hash": "41eea0deec2deea139b459ac03656f0dd28fc4a3387240ec1d3c259a2c47850f", - "url": "https://files.pythonhosted.org/packages/1f/d3/020efb312a7d25fa00e144497a33378d415552e5581be080a99017af6d39/GitPython-3.1.29-py3-none-any.whl" + "hash": "fce760879cd2aebd2991b3542876dc5c4a909b30c9d69dfc488e504a8db37ee8", + "url": "https://files.pythonhosted.org/packages/bc/91/b38c4fabb6e5092ab23492ded4f318ab7299b19263272b703478038c0fbc/GitPython-3.1.18-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "cc36bfc4a3f913e66805a28e84703e419d9c264c1077e537b54f0e1af85dbefd", - "url": "https://files.pythonhosted.org/packages/22/ab/3dd8b8a24399cee9c903d5f7600d20e8703d48904020f46f7fa5ac5474e9/GitPython-3.1.29.tar.gz" + "hash": "b838a895977b45ab6f0cc926a9045c8d1c44e2b653c1fcc39fe91f42c6e8f05b", + "url": "https://files.pythonhosted.org/packages/29/22/3d591875078c1c5e7e11b478616821995053968a74b76043c55448c46381/GitPython-3.1.18.tar.gz" } ], "project_name": "gitpython", "requires_dists": [ "gitdb<5,>=4.0.1", - "typing-extensions>=3.7.4.3; python_version < \"3.8\"" + "typing-extensions>=3.7.4.0; python_version < \"3.8\"" ], - "requires_python": ">=3.7", - "version": "3.1.29" + "requires_python": ">=3.6", + "version": "3.1.18" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "8a8a81bcf996e74fee46f0d16bd3eaa382a7eb20fd82445c3ad11f4090334116", - "url": "https://files.pythonhosted.org/packages/d0/98/c277899f5aa21f6e6946e1c83f2af650cbfee982763ffb91db07ff7d3a13/importlib_metadata-4.13.0-py3-none-any.whl" + "hash": "65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e", + "url": "https://files.pythonhosted.org/packages/a0/a1/b153a0a4caf7a7e3f15c2cd56c7702e2cf3d89b1b359d1f1c5e59d68f4ce/importlib_metadata-4.8.3-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "dd0173e8f150d6815e098fd354f6414b0f079af4644ddfe90c71e2fc6174346d", - "url": "https://files.pythonhosted.org/packages/55/12/ab288357b884ebc807e3f4eff63ce5ba6b941ba61499071bf19f1bbc7f7f/importlib_metadata-4.13.0.tar.gz" + "hash": "766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668", + "url": "https://files.pythonhosted.org/packages/85/ed/e65128cc5cb1580f22ee3009d9187ecdfcc43ffb3b581fe854b24e87d8e7/importlib_metadata-4.8.3.tar.gz" } ], "project_name": "importlib-metadata", "requires_dists": [ - "flake8<5; extra == \"testing\"", "flufl.flake8; extra == \"testing\"", - "furo; extra == \"docs\"", "importlib-resources>=1.3; python_version < \"3.9\" and extra == \"testing\"", "ipython; extra == \"perf\"", - "jaraco.packaging>=9; extra == \"docs\"", - "jaraco.tidelift>=1.4; extra == \"docs\"", + "jaraco.packaging>=8.2; extra == \"docs\"", "packaging; extra == \"testing\"", + "pep517; extra == \"testing\"", "pyfakefs; extra == \"testing\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", - "pytest-enabler>=1.3; extra == \"testing\"", + "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", - "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", + "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-perf>=0.9.2; extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", - "sphinx>=3.5; extra == \"docs\"", + "sphinx; extra == \"docs\"", "typing-extensions>=3.6.4; python_version < \"3.8\"", "zipp>=0.5" ], - "requires_python": ">=3.7", - "version": "4.13" + "requires_python": ">=3.6", + "version": "4.8.3" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "da3e18aac0a3c003e9eea1a81bd23e5a3a75d745670dcf736317b7d966887fdf", - "url": "https://files.pythonhosted.org/packages/88/fb/c7958b2d571c7b15091b8574a727ad14328e8de590644198e57de9b5ee57/pbr-5.10.0-py2.py3-none-any.whl" + "hash": "db2317ff07c84c4c63648c9064a79fe9d9f5c7ce85a9099d4b6258b3db83225a", + "url": "https://files.pythonhosted.org/packages/e5/37/10e8a53f196cf0bcb93008daed42e2c47c7876430a7efd044ff4d647f30a/pbr-5.11.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "cfcc4ff8e698256fc17ea3ff796478b050852585aa5bae79ecd05b2ab7b39b9a", - "url": "https://files.pythonhosted.org/packages/b4/40/4c5d3681b141a10c24c890c28345fac915dd67f34b8c910df7b81ac5c7b3/pbr-5.10.0.tar.gz" + "hash": "b97bc6695b2aff02144133c2e7399d5885223d42b7912ffaec2ca3898e673bfe", + "url": "https://files.pythonhosted.org/packages/52/fb/630d52aaca8fc7634a0711b6ae12a0e828b6f9264bd8051225025c3ed075/pbr-5.11.0.tar.gz" } ], "project_name": "pbr", "requires_dists": [], "requires_python": ">=2.6", - "version": "5.10" + "version": "5.11" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0", - "url": "https://files.pythonhosted.org/packages/12/fc/a4d5a7554e0067677823f7265cb3ae22aed8a238560b5133b58cda252dad/PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" - }, - { - "algorithm": "sha256", - "hash": "f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5", - "url": "https://files.pythonhosted.org/packages/02/25/6ba9f6bb50a3d4fbe22c1a02554dc670682a07c8701d1716d19ddea2c940/PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" - }, - { - "algorithm": "sha256", - "hash": "d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803", - "url": "https://files.pythonhosted.org/packages/21/67/b42191239c5650c9e419c4a08a7a022bbf1abf55b0391c380a72c3af5462/PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" + "hash": "277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287", + "url": "https://files.pythonhosted.org/packages/d7/42/7ad4b6d67a16229496d4f6e74201bdbebcf4bc1e87d5a70c9297d4961bd2/PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", @@ -176,34 +164,14 @@ }, { "algorithm": "sha256", - "hash": "d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53", - "url": "https://files.pythonhosted.org/packages/44/e5/4fea13230bcebf24b28c0efd774a2dd65a0937a2d39e94a4503438b078ed/PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl" - }, - { - "algorithm": "sha256", - "hash": "432557aa2c09802be39460360ddffd48156e30721f5e8d917f01d31694216782", - "url": "https://files.pythonhosted.org/packages/56/8f/e8b49ad21d26111493dc2d5cae4d7efbd0e2e065440665f5023515f87f64/PyYAML-6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" - }, - { - "algorithm": "sha256", - "hash": "77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc", - "url": "https://files.pythonhosted.org/packages/5e/f4/7b4bb01873be78fc9fde307f38f62e380b7111862c165372cf094ca2b093/PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" + "hash": "897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86", + "url": "https://files.pythonhosted.org/packages/55/e3/507a92589994a5b3c3d7f2a7a066339d6ff61c5c839bae56f7eff03d9c7b/PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34", "url": "https://files.pythonhosted.org/packages/63/6b/f5dc7942bac17192f4ef00b2d0cdd1ae45eea453d05c1944c0573debe945/PyYAML-6.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, - { - "algorithm": "sha256", - "hash": "e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174", - "url": "https://files.pythonhosted.org/packages/67/d4/b95266228a25ef5bd70984c08b4efce2c035a4baa5ccafa827b266e3dc36/PyYAML-6.0-cp39-cp39-macosx_11_0_arm64.whl" - }, - { - "algorithm": "sha256", - "hash": "dbad0e9d368bb989f4515da330b88a057617d16b6a8245084f1b05400f24609f", - "url": "https://files.pythonhosted.org/packages/68/3f/c027422e49433239267c62323fbc6320d6ac8d7d50cf0cb2a376260dad5f/PyYAML-6.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl" - }, { "algorithm": "sha256", "hash": "213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba", @@ -211,24 +179,14 @@ }, { "algorithm": "sha256", - "hash": "cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3", - "url": "https://files.pythonhosted.org/packages/77/da/e845437ffe0dffae4e7562faf23a4f264d886431c5d2a2816c853288dc8e/PyYAML-6.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl" - }, - { - "algorithm": "sha256", - "hash": "afa17f5bc4d1b10afd4466fd3a44dc0e245382deca5b3c353d8b757f9e3ecb8d", - "url": "https://files.pythonhosted.org/packages/7f/d9/6a0d14ac8d3b5605dc925d177c1d21ee9f0b7b39287799db1e50d197b2f4/PyYAML-6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" + "hash": "48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92", + "url": "https://files.pythonhosted.org/packages/74/68/3c13deaa496c14a030c431b7b828d6b343f79eb241b4848c7918091a64a2/PyYAML-6.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4", "url": "https://files.pythonhosted.org/packages/81/59/561f7e46916b78f3c4cab8d0c307c81656f11e32c846c0c97fda0019ed76/PyYAML-6.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, - { - "algorithm": "sha256", - "hash": "9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c", - "url": "https://files.pythonhosted.org/packages/91/49/d46d7b15cddfa98533e89f3832f391aedf7e31f37b4d4df3a7a7855a7073/PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl" - }, { "algorithm": "sha256", "hash": "819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c", @@ -236,13 +194,13 @@ }, { "algorithm": "sha256", - "hash": "81957921f441d50af23654aa6c5e5eaf9b06aba7f0a19c18a538dc7ef291c5a1", - "url": "https://files.pythonhosted.org/packages/cb/5f/05dd91f5046e2256e35d885f3b8f0f280148568f08e1bf20421887523e9a/PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl" + "hash": "50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f", + "url": "https://files.pythonhosted.org/packages/a8/32/1bbe38477fb23f1d83041fefeabf93ef1cd6f0efcf44c221519507315d92/PyYAML-6.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", - "hash": "277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287", - "url": "https://files.pythonhosted.org/packages/d7/42/7ad4b6d67a16229496d4f6e74201bdbebcf4bc1e87d5a70c9297d4961bd2/PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" + "hash": "98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4", + "url": "https://files.pythonhosted.org/packages/b3/85/79b9e5b4e8d3c0ac657f4e8617713cca8408f6cdc65d2ee6554217cedff1/PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", @@ -258,21 +216,6 @@ "algorithm": "sha256", "hash": "231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9", "url": "https://files.pythonhosted.org/packages/eb/5f/6e6fe6904e1a9c67bc2ca5629a69e7a5a0b17f079da838bab98a1e548b25/PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" - }, - { - "algorithm": "sha256", - "hash": "a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b", - "url": "https://files.pythonhosted.org/packages/ef/ad/b443cce94539e57e1a745a845f95c100ad7b97593d7e104051e43f730ecd/PyYAML-6.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl" - }, - { - "algorithm": "sha256", - "hash": "055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b", - "url": "https://files.pythonhosted.org/packages/f5/6f/b8b4515346af7c33d3b07cd8ca8ea0700ca72e8d7a750b2b87ac0268ca4e/PyYAML-6.0-cp39-cp39-macosx_10_9_x86_64.whl" - }, - { - "algorithm": "sha256", - "hash": "d4b0ba9512519522b118090257be113b9468d804b19d63c71dbcf4a48fa32358", - "url": "https://files.pythonhosted.org/packages/f8/54/799b059314b13e1063473f76e908f44106014d18f54b16c83a16edccd5ec/PyYAML-6.0-cp311-cp311-macosx_10_9_x86_64.whl" } ], "project_name": "pyyaml", @@ -284,64 +227,46 @@ "artifacts": [ { "algorithm": "sha256", - "hash": "f62ea9da9ed6289bfe868cd6845968a2c854d1427f8548d52cae02a42b4f0356", - "url": "https://files.pythonhosted.org/packages/41/82/7f54bbfe5c247a8c9f78d8d1d7c051847bcb78843c397b866dba335c1e88/setuptools-65.5.0-py3-none-any.whl" + "hash": "4ce92f1e1f8f01233ee9952c04f6b81d1e02939d6e1b488428154974a4d0783e", + "url": "https://files.pythonhosted.org/packages/b0/3a/88b210db68e56854d0bcf4b38e165e03be377e13907746f825790f3df5bf/setuptools-59.6.0-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "512e5536220e38146176efb833d4a62aa726b7bbff82cfbc8ba9eaa3996e0b17", - "url": "https://files.pythonhosted.org/packages/c5/41/247814d8b7a044717164c74080725a6c8f3d2b5fc82b34bd825b617df663/setuptools-65.5.0.tar.gz" + "hash": "22c7348c6d2976a52632c67f7ab0cdf40147db7789f9aed18734643fe9cf3373", + "url": "https://files.pythonhosted.org/packages/6a/fa/5ec0fa9095c9b72cb1c31a8175c4c6745bf5927d1045d7a70df35d54944f/setuptools-59.6.0.tar.gz" } ], "project_name": "setuptools", "requires_dists": [ - "build[virtualenv]; extra == \"testing\"", - "build[virtualenv]; extra == \"testing-integration\"", - "filelock>=3.4.0; extra == \"testing\"", - "filelock>=3.4.0; extra == \"testing-integration\"", "flake8-2020; extra == \"testing\"", - "flake8<5; extra == \"testing\"", "furo; extra == \"docs\"", - "ini2toml[lite]>=0.9; extra == \"testing\"", "jaraco.envs>=2.2; extra == \"testing\"", - "jaraco.envs>=2.2; extra == \"testing-integration\"", - "jaraco.packaging>=9; extra == \"docs\"", + "jaraco.packaging>=8.2; extra == \"docs\"", "jaraco.path>=3.2.0; extra == \"testing\"", - "jaraco.path>=3.2.0; extra == \"testing-integration\"", "jaraco.tidelift>=1.4; extra == \"docs\"", "mock; extra == \"testing\"", - "pip-run>=8.8; extra == \"testing\"", + "paver; extra == \"testing\"", "pip>=19.1; extra == \"testing\"", "pygments-github-lexers==0.0.5; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", - "pytest-cov; platform_python_implementation != \"PyPy\" and extra == \"testing\"", - "pytest-enabler; extra == \"testing-integration\"", - "pytest-enabler>=1.3; extra == \"testing\"", + "pytest-cov; extra == \"testing\"", + "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", - "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", - "pytest-perf; extra == \"testing\"", + "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", + "pytest-virtualenv>=1.2.7; extra == \"testing\"", "pytest-xdist; extra == \"testing\"", - "pytest-xdist; extra == \"testing-integration\"", - "pytest; extra == \"testing-integration\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", - "sphinx-favicon; extra == \"docs\"", - "sphinx-hoverxref<2; extra == \"docs\"", "sphinx-inline-tabs; extra == \"docs\"", - "sphinx-notfound-page==0.8.3; extra == \"docs\"", - "sphinx-reredirects; extra == \"docs\"", - "sphinx>=3.5; extra == \"docs\"", + "sphinx; extra == \"docs\"", + "sphinx; extra == \"testing\"", "sphinxcontrib-towncrier; extra == \"docs\"", - "tomli-w>=1.0.0; extra == \"testing\"", - "tomli; extra == \"testing-integration\"", "virtualenv>=13.0.0; extra == \"testing\"", - "virtualenv>=13.0.0; extra == \"testing-integration\"", - "wheel; extra == \"testing\"", - "wheel; extra == \"testing-integration\"" + "wheel; extra == \"testing\"" ], - "requires_python": ">=3.7", - "version": "65.5" + "requires_python": ">=3.6", + "version": "59.6" }, { "artifacts": [ @@ -383,13 +308,13 @@ "artifacts": [ { "algorithm": "sha256", - "hash": "df36e6c003264de286d6e589994552d3254052e7fc6a117753d87c471f06de2a", - "url": "https://files.pythonhosted.org/packages/77/c9/9b0861a906b214932f83cee9d4ec4e06c9e8dcfc79606d96a993b01f6f0b/stevedore-3.5.1-py3-none-any.whl" + "hash": "fa2630e3d0ad3e22d4914aff2501445815b9a4467a6edc49387c667a38faf5bf", + "url": "https://files.pythonhosted.org/packages/6d/8d/8dbd1e502e06e58550ed16c879303f83609d52ac31de0cd6a2403186148a/stevedore-3.5.2-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "1fecadf3d7805b940227f10e6a0140b202c9a24ba5c60cb539159046dc11e8d7", - "url": "https://files.pythonhosted.org/packages/69/e0/1bd9530bee0b25a8d4f8c4c339dfbe369140be10a5a14afdc69bc65fecc1/stevedore-3.5.1.tar.gz" + "hash": "cf99f41fc0d5a4f185ca4d3d42b03be9011b0a1ec1a4ea1a282be1b4b306dcc2", + "url": "https://files.pythonhosted.org/packages/80/a3/7db17f998684ee1c225cfae74ccca4b369118419c07be48991f30e942c31/stevedore-3.5.2.tar.gz" } ], "project_name": "stevedore", @@ -398,61 +323,56 @@ "pbr!=2.1.0,>=2.0.0" ], "requires_python": ">=3.6", - "version": "3.5.1" + "version": "3.5.2" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e", - "url": "https://files.pythonhosted.org/packages/0b/8e/f1a0a5a76cfef77e1eb6004cb49e5f8d72634da638420b9ea492ce8305e8/typing_extensions-4.4.0-py3-none-any.whl" + "hash": "21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2", + "url": "https://files.pythonhosted.org/packages/45/6b/44f7f8f1e110027cf88956b59f2fad776cca7e1704396d043f89effd3a0e/typing_extensions-4.1.1-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa", - "url": "https://files.pythonhosted.org/packages/e3/a7/8f4e456ef0adac43f452efc2d0e4b242ab831297f1bac60ac815d37eb9cf/typing_extensions-4.4.0.tar.gz" + "hash": "1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42", + "url": "https://files.pythonhosted.org/packages/b1/5a/8b5fbb891ef3f81fc923bf3cb4a578c0abf9471eb50ce0f51c74212182ab/typing_extensions-4.1.1.tar.gz" } ], "project_name": "typing-extensions", "requires_dists": [], - "requires_python": ">=3.7", - "version": "4.4" + "requires_python": ">=3.6", + "version": "4.1.1" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "972cfa31bc2fedd3fa838a51e9bc7e64b7fb725a8c00e7431554311f180e9980", - "url": "https://files.pythonhosted.org/packages/09/85/302c153615db93e9197f13e02f448b3f95d7d786948f2fb3d6d5830a481b/zipp-3.9.0-py3-none-any.whl" + "hash": "9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc", + "url": "https://files.pythonhosted.org/packages/bd/df/d4a4974a3e3957fd1c1fa3082366d7fff6e428ddb55f074bf64876f8e8ad/zipp-3.6.0-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "3a7af91c3db40ec72dd9d154ae18e008c69efe8ca88dde4f9a731bb82fe2f9eb", - "url": "https://files.pythonhosted.org/packages/41/2e/1341c5634c25e7254df01ec1f6cbd2bcdee3e647709e7c3647d1b362e3ac/zipp-3.9.0.tar.gz" + "hash": "71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832", + "url": "https://files.pythonhosted.org/packages/02/bf/0d03dbdedb83afec081fefe86cae3a2447250ef1a81ac601a9a56e785401/zipp-3.6.0.tar.gz" } ], "project_name": "zipp", "requires_dists": [ - "flake8<5; extra == \"testing\"", "func-timeout; extra == \"testing\"", - "furo; extra == \"docs\"", - "jaraco.functools; extra == \"testing\"", "jaraco.itertools; extra == \"testing\"", - "jaraco.packaging>=9; extra == \"docs\"", - "jaraco.tidelift>=1.4; extra == \"docs\"", - "more-itertools; extra == \"testing\"", + "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", - "pytest-enabler>=1.3; extra == \"testing\"", + "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", - "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", - "pytest>=6; extra == \"testing\"", + "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", + "pytest>=4.6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", - "sphinx>=3.5; extra == \"docs\"" + "sphinx; extra == \"docs\"" ], - "requires_python": ">=3.7", - "version": "3.9" + "requires_python": ">=3.6", + "version": "3.6" } ], "platform_tag": null @@ -468,7 +388,7 @@ "setuptools" ], "requires_python": [ - "<4,>=3.7" + "<3.9,>=3.6" ], "resolver_version": "pip-2020-resolver", "style": "universal", diff --git a/lockfiles/black.lock b/lockfiles/black.lock index 06e8d0d09c..87d781bc7f 100644 --- a/lockfiles/black.lock +++ b/lockfiles/black.lock @@ -384,13 +384,13 @@ "artifacts": [ { "algorithm": "sha256", - "hash": "972cfa31bc2fedd3fa838a51e9bc7e64b7fb725a8c00e7431554311f180e9980", - "url": "https://files.pythonhosted.org/packages/09/85/302c153615db93e9197f13e02f448b3f95d7d786948f2fb3d6d5830a481b/zipp-3.9.0-py3-none-any.whl" + "hash": "4fcb6f278987a6605757302a6e40e896257570d11c51628968ccb2a47e80c6c1", + "url": "https://files.pythonhosted.org/packages/40/8a/d63273ed0fa4a3d06f77e7b043f6577d8894e95515b0c187c52e2c0efabb/zipp-3.10.0-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "3a7af91c3db40ec72dd9d154ae18e008c69efe8ca88dde4f9a731bb82fe2f9eb", - "url": "https://files.pythonhosted.org/packages/41/2e/1341c5634c25e7254df01ec1f6cbd2bcdee3e647709e7c3647d1b362e3ac/zipp-3.9.0.tar.gz" + "hash": "7a7262fd930bd3e36c50b9a64897aec3fafff3dfdeec9623ae22b40e93f99bb8", + "url": "https://files.pythonhosted.org/packages/8d/d7/1bd1e0a5bc95a27a6f5c4ee8066ddfc5b69a9ec8d39ab11a41a804ec8f0d/zipp-3.10.0.tar.gz" } ], "project_name": "zipp", @@ -414,7 +414,7 @@ "sphinx>=3.5; extra == \"docs\"" ], "requires_python": ">=3.7", - "version": "3.9" + "version": "3.10" } ], "platform_tag": null diff --git a/lockfiles/flake8.lock b/lockfiles/flake8.lock index 6b107cdcef..ac6996fd35 100644 --- a/lockfiles/flake8.lock +++ b/lockfiles/flake8.lock @@ -6,7 +6,7 @@ // { // "version": 3, // "valid_for_interpreter_constraints": [ -// "CPython<4,>=3.7" +// "CPython<3.9,>=3.6" // ], // "generated_with_requirements": [ // "flake8==4.0.1", @@ -190,64 +190,46 @@ "artifacts": [ { "algorithm": "sha256", - "hash": "f62ea9da9ed6289bfe868cd6845968a2c854d1427f8548d52cae02a42b4f0356", - "url": "https://files.pythonhosted.org/packages/41/82/7f54bbfe5c247a8c9f78d8d1d7c051847bcb78843c397b866dba335c1e88/setuptools-65.5.0-py3-none-any.whl" + "hash": "4ce92f1e1f8f01233ee9952c04f6b81d1e02939d6e1b488428154974a4d0783e", + "url": "https://files.pythonhosted.org/packages/b0/3a/88b210db68e56854d0bcf4b38e165e03be377e13907746f825790f3df5bf/setuptools-59.6.0-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "512e5536220e38146176efb833d4a62aa726b7bbff82cfbc8ba9eaa3996e0b17", - "url": "https://files.pythonhosted.org/packages/c5/41/247814d8b7a044717164c74080725a6c8f3d2b5fc82b34bd825b617df663/setuptools-65.5.0.tar.gz" + "hash": "22c7348c6d2976a52632c67f7ab0cdf40147db7789f9aed18734643fe9cf3373", + "url": "https://files.pythonhosted.org/packages/6a/fa/5ec0fa9095c9b72cb1c31a8175c4c6745bf5927d1045d7a70df35d54944f/setuptools-59.6.0.tar.gz" } ], "project_name": "setuptools", "requires_dists": [ - "build[virtualenv]; extra == \"testing\"", - "build[virtualenv]; extra == \"testing-integration\"", - "filelock>=3.4.0; extra == \"testing\"", - "filelock>=3.4.0; extra == \"testing-integration\"", "flake8-2020; extra == \"testing\"", - "flake8<5; extra == \"testing\"", "furo; extra == \"docs\"", - "ini2toml[lite]>=0.9; extra == \"testing\"", "jaraco.envs>=2.2; extra == \"testing\"", - "jaraco.envs>=2.2; extra == \"testing-integration\"", - "jaraco.packaging>=9; extra == \"docs\"", + "jaraco.packaging>=8.2; extra == \"docs\"", "jaraco.path>=3.2.0; extra == \"testing\"", - "jaraco.path>=3.2.0; extra == \"testing-integration\"", "jaraco.tidelift>=1.4; extra == \"docs\"", "mock; extra == \"testing\"", - "pip-run>=8.8; extra == \"testing\"", + "paver; extra == \"testing\"", "pip>=19.1; extra == \"testing\"", "pygments-github-lexers==0.0.5; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", - "pytest-cov; platform_python_implementation != \"PyPy\" and extra == \"testing\"", - "pytest-enabler; extra == \"testing-integration\"", - "pytest-enabler>=1.3; extra == \"testing\"", + "pytest-cov; extra == \"testing\"", + "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", - "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", - "pytest-perf; extra == \"testing\"", + "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", + "pytest-virtualenv>=1.2.7; extra == \"testing\"", "pytest-xdist; extra == \"testing\"", - "pytest-xdist; extra == \"testing-integration\"", - "pytest; extra == \"testing-integration\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", - "sphinx-favicon; extra == \"docs\"", - "sphinx-hoverxref<2; extra == \"docs\"", "sphinx-inline-tabs; extra == \"docs\"", - "sphinx-notfound-page==0.8.3; extra == \"docs\"", - "sphinx-reredirects; extra == \"docs\"", - "sphinx>=3.5; extra == \"docs\"", + "sphinx; extra == \"docs\"", + "sphinx; extra == \"testing\"", "sphinxcontrib-towncrier; extra == \"docs\"", - "tomli-w>=1.0.0; extra == \"testing\"", - "tomli; extra == \"testing-integration\"", "virtualenv>=13.0.0; extra == \"testing\"", - "virtualenv>=13.0.0; extra == \"testing-integration\"", - "wheel; extra == \"testing\"", - "wheel; extra == \"testing-integration\"" + "wheel; extra == \"testing\"" ], - "requires_python": ">=3.7", - "version": "65.5" + "requires_python": ">=3.6", + "version": "59.6" }, { "artifacts": [ @@ -274,69 +256,65 @@ "artifacts": [ { "algorithm": "sha256", - "hash": "16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e", - "url": "https://files.pythonhosted.org/packages/0b/8e/f1a0a5a76cfef77e1eb6004cb49e5f8d72634da638420b9ea492ce8305e8/typing_extensions-4.4.0-py3-none-any.whl" + "hash": "21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2", + "url": "https://files.pythonhosted.org/packages/45/6b/44f7f8f1e110027cf88956b59f2fad776cca7e1704396d043f89effd3a0e/typing_extensions-4.1.1-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa", - "url": "https://files.pythonhosted.org/packages/e3/a7/8f4e456ef0adac43f452efc2d0e4b242ab831297f1bac60ac815d37eb9cf/typing_extensions-4.4.0.tar.gz" + "hash": "1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42", + "url": "https://files.pythonhosted.org/packages/b1/5a/8b5fbb891ef3f81fc923bf3cb4a578c0abf9471eb50ce0f51c74212182ab/typing_extensions-4.1.1.tar.gz" } ], "project_name": "typing-extensions", "requires_dists": [], - "requires_python": ">=3.7", - "version": "4.4" + "requires_python": ">=3.6", + "version": "4.1.1" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "972cfa31bc2fedd3fa838a51e9bc7e64b7fb725a8c00e7431554311f180e9980", - "url": "https://files.pythonhosted.org/packages/09/85/302c153615db93e9197f13e02f448b3f95d7d786948f2fb3d6d5830a481b/zipp-3.9.0-py3-none-any.whl" + "hash": "9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc", + "url": "https://files.pythonhosted.org/packages/bd/df/d4a4974a3e3957fd1c1fa3082366d7fff6e428ddb55f074bf64876f8e8ad/zipp-3.6.0-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "3a7af91c3db40ec72dd9d154ae18e008c69efe8ca88dde4f9a731bb82fe2f9eb", - "url": "https://files.pythonhosted.org/packages/41/2e/1341c5634c25e7254df01ec1f6cbd2bcdee3e647709e7c3647d1b362e3ac/zipp-3.9.0.tar.gz" + "hash": "71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832", + "url": "https://files.pythonhosted.org/packages/02/bf/0d03dbdedb83afec081fefe86cae3a2447250ef1a81ac601a9a56e785401/zipp-3.6.0.tar.gz" } ], "project_name": "zipp", "requires_dists": [ - "flake8<5; extra == \"testing\"", "func-timeout; extra == \"testing\"", - "furo; extra == \"docs\"", - "jaraco.functools; extra == \"testing\"", "jaraco.itertools; extra == \"testing\"", - "jaraco.packaging>=9; extra == \"docs\"", - "jaraco.tidelift>=1.4; extra == \"docs\"", - "more-itertools; extra == \"testing\"", + "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", - "pytest-enabler>=1.3; extra == \"testing\"", + "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", - "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", - "pytest>=6; extra == \"testing\"", + "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", + "pytest>=4.6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", - "sphinx>=3.5; extra == \"docs\"" + "sphinx; extra == \"docs\"" ], - "requires_python": ">=3.7", - "version": "3.9" + "requires_python": ">=3.6", + "version": "3.6" } ], "platform_tag": null } ], "path_mappings": {}, - "pex_version": "2.1.103", + "pex_version": "2.1.108", + "pip_version": "20.3.4-patched", "prefer_older_binary": false, "requirements": [ "flake8==4.0.1", "st2flake8==0.1.0" ], "requires_python": [ - "<4,>=3.7" + "<3.9,>=3.6" ], "resolver_version": "pip-2020-resolver", "style": "universal", From a3a6f17017f7bb6355a3875055bd38c277647303 Mon Sep 17 00:00:00 2001 From: Jacob Floyd Date: Fri, 4 Nov 2022 00:00:02 -0500 Subject: [PATCH 3/4] pants: include py3.6 in [black].interpreter_constraints We cannot use >=3.6 because our pinned version of black requires >=3.6.2 so we just use that instead. --- lockfiles/black.lock | 220 +++++++++++++++++-------------------------- pants.toml | 3 + 2 files changed, 91 insertions(+), 132 deletions(-) diff --git a/lockfiles/black.lock b/lockfiles/black.lock index 87d781bc7f..16dbcaca97 100644 --- a/lockfiles/black.lock +++ b/lockfiles/black.lock @@ -6,7 +6,7 @@ // { // "version": 3, // "valid_for_interpreter_constraints": [ -// "CPython<4,>=3.7" +// "CPython<3.9,>=3.6.2" // ], // "generated_with_requirements": [ // "black==22.3.0", @@ -45,11 +45,6 @@ "hash": "328efc0cc70ccb23429d6be184a15ce613f676bdfc85e5fe8ea2a9354b4e9015", "url": "https://files.pythonhosted.org/packages/0f/1b/200a8a1ae28ff798ec7e4bff65ca2713a917f913d2da1db0160622540af0/black-22.3.0-cp37-cp37m-macosx_10_9_x86_64.whl" }, - { - "algorithm": "sha256", - "hash": "5795a0375eb87bfe902e80e0c8cfaedf8af4d49694d69161e5bd3206c18618bb", - "url": "https://files.pythonhosted.org/packages/31/1a/0233cdbfbcfbc0864d815cf28ca40cdb65acf3601f3bf943d6d04e867858/black-22.3.0-cp310-cp310-macosx_10_9_x86_64.whl" - }, { "algorithm": "sha256", "hash": "10dbe6e6d2988049b4655b2b739f98785a884d4d6b85bc35133a8fb9a2233176", @@ -62,34 +57,14 @@ }, { "algorithm": "sha256", - "hash": "e3556168e2e5c49629f7b0f377070240bd5511e45e25a4497bb0073d9dda776a", - "url": "https://files.pythonhosted.org/packages/4f/98/8f775455f99a8e4b16d8d26efdc8292f99b1c0ebfe04357d800ff379c0ae/black-22.3.0-cp310-cp310-macosx_11_0_arm64.whl" - }, - { - "algorithm": "sha256", - "hash": "6ee227b696ca60dd1c507be80a6bc849a5a6ab57ac7352aad1ffec9e8b805f21", - "url": "https://files.pythonhosted.org/packages/51/ec/c87695b087b7525fd9c7732c630455f231d3df9a300b730bd0e04ea00f84/black-22.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" - }, - { - "algorithm": "sha256", - "hash": "ee8f1f7228cce7dffc2b464f07ce769f478968bfb3dd1254a4c2eeed84928aad", - "url": "https://files.pythonhosted.org/packages/56/74/c27c496223168af625d6bba8a14bc581e7742bf7248504a4b5743c374767/black-22.3.0-cp39-cp39-macosx_11_0_arm64.whl" - }, - { - "algorithm": "sha256", - "hash": "67c8301ec94e3bcc8906740fe071391bce40a862b7be0b86fb5382beefecd968", - "url": "https://files.pythonhosted.org/packages/93/98/6f7c2f7f81d87b5771febcee933ba58640fca29a767262763bc353074f63/black-22.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" + "hash": "6d2fc92002d44746d3e7db7cf9313cf4452f43e9ea77a2c939defce3b10b5c82", + "url": "https://files.pythonhosted.org/packages/59/31/9840f395f901067555a21df7d279d86f31a562cae6ca7381079bc402d555/black-22.3.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "863714200ada56cbc366dc9ae5291ceb936573155f8bf8e9de92aef51f3ad0f0", "url": "https://files.pythonhosted.org/packages/98/a0/98fe3aee7a08c7c9d470e38326cefb86372fb08332125d5b0414a22ab49f/black-22.3.0-cp38-cp38-macosx_11_0_arm64.whl" }, - { - "algorithm": "sha256", - "hash": "5891ef8abc06576985de8fa88e95ab70641de6c1fca97e2a15820a9b69e51b20", - "url": "https://files.pythonhosted.org/packages/a4/43/940f848d7d1ecf0be18453a293e5736e9ce60fd6197386a791bcc491f232/black-22.3.0-cp39-cp39-macosx_10_9_universal2.whl" - }, { "algorithm": "sha256", "hash": "e8477ec6bbfe0312c128e74644ac8a02ca06bcdb8982d4ee06f209be28cdf163", @@ -97,18 +72,13 @@ }, { "algorithm": "sha256", - "hash": "2497f9c2386572e28921fa8bec7be3e51de6801f7459dffd6e62492531c47e09", - "url": "https://files.pythonhosted.org/packages/e1/1b/3ba8128f0b6e86d87343a1275e17baeeeee1a89e02d2a0d275f472be3310/black-22.3.0-cp310-cp310-macosx_10_9_universal2.whl" - }, - { - "algorithm": "sha256", - "hash": "30d78ba6bf080eeaf0b7b875d924b15cd46fec5fd044ddfbad38c8ea9171043a", - "url": "https://files.pythonhosted.org/packages/e5/b7/e4e8907dffdac70f018ddb89681dbc77cbc7ac78d1f8a39259110a7e7943/black-22.3.0-cp39-cp39-macosx_10_9_x86_64.whl" + "hash": "35020b8886c022ced9282b51b5a875b6d1ab0c387b31a065b84db7c33085ca79", + "url": "https://files.pythonhosted.org/packages/ee/1f/b29c7371958ab41a800f8718f5d285bf4333b8d0b5a5a8650234463ee644/black-22.3.0.tar.gz" }, { "algorithm": "sha256", - "hash": "35020b8886c022ced9282b51b5a875b6d1ab0c387b31a065b84db7c33085ca79", - "url": "https://files.pythonhosted.org/packages/ee/1f/b29c7371958ab41a800f8718f5d285bf4333b8d0b5a5a8650234463ee644/black-22.3.0.tar.gz" + "hash": "cc1e1de68c8e5444e8f94c3670bb48a2beef0e91dddfd4fcc29595ebd90bb9ce", + "url": "https://files.pythonhosted.org/packages/f7/11/3818eb66303c9648e0f51899ec1e16d8576a36b855fdcb03a82311b57c62/black-22.3.0-cp36-cp36m-macosx_10_9_x86_64.whl" } ], "project_name": "black", @@ -134,13 +104,13 @@ "artifacts": [ { "algorithm": "sha256", - "hash": "bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48", - "url": "https://files.pythonhosted.org/packages/c2/f1/df59e28c642d583f7dacffb1e0965d0e00b218e0186d7858ac5233dce840/click-8.1.3-py3-none-any.whl" + "hash": "6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1", + "url": "https://files.pythonhosted.org/packages/4a/a8/0b2ced25639fb20cc1c9784de90a8c25f9504a7f18cd8b5397bd61696d7d/click-8.0.4-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e", - "url": "https://files.pythonhosted.org/packages/59/87/84326af34517fca8c58418d148f2403df25303e02736832403587318e9e8/click-8.1.3.tar.gz" + "hash": "8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb", + "url": "https://files.pythonhosted.org/packages/dd/cf/706c1ad49ab26abed0b77a2f867984c1341ed7387b8030a6aa914e2942a0/click-8.0.4.tar.gz" } ], "project_name": "click", @@ -148,48 +118,64 @@ "colorama; platform_system == \"Windows\"", "importlib-metadata; python_version < \"3.8\"" ], - "requires_python": ">=3.7", - "version": "8.1.3" + "requires_python": ">=3.6", + "version": "8.0.4" + }, + { + "artifacts": [ + { + "algorithm": "sha256", + "hash": "454a69d788c7fda44efd71e259be79577822f5e3f53f029a22d08004e951dc9f", + "url": "https://files.pythonhosted.org/packages/26/2f/1095cdc2868052dd1e64520f7c0d5c8c550ad297e944e641dbf1ffbb9a5d/dataclasses-0.6-py3-none-any.whl" + }, + { + "algorithm": "sha256", + "hash": "6988bd2b895eef432d562370bb707d540f32f7360ab13da45340101bc2307d84", + "url": "https://files.pythonhosted.org/packages/59/e4/2f921edfdf1493bdc07b914cbea43bc334996df4841a34523baf73d1fb4f/dataclasses-0.6.tar.gz" + } + ], + "project_name": "dataclasses", + "requires_dists": [], + "requires_python": null, + "version": "0.6" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "ddb0e35065e8938f867ed4928d0ae5bf2a53b7773871bfe6bcc7e4fcdc7dea43", - "url": "https://files.pythonhosted.org/packages/b5/64/ef29a63cf08f047bb7fb22ab0f1f774b87eed0bb46d067a5a524798a4af8/importlib_metadata-5.0.0-py3-none-any.whl" + "hash": "65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e", + "url": "https://files.pythonhosted.org/packages/a0/a1/b153a0a4caf7a7e3f15c2cd56c7702e2cf3d89b1b359d1f1c5e59d68f4ce/importlib_metadata-4.8.3-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "da31db32b304314d044d3c12c79bd59e307889b287ad12ff387b3500835fc2ab", - "url": "https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz" + "hash": "766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668", + "url": "https://files.pythonhosted.org/packages/85/ed/e65128cc5cb1580f22ee3009d9187ecdfcc43ffb3b581fe854b24e87d8e7/importlib_metadata-4.8.3.tar.gz" } ], "project_name": "importlib-metadata", "requires_dists": [ - "flake8<5; extra == \"testing\"", "flufl.flake8; extra == \"testing\"", - "furo; extra == \"docs\"", "importlib-resources>=1.3; python_version < \"3.9\" and extra == \"testing\"", "ipython; extra == \"perf\"", - "jaraco.packaging>=9; extra == \"docs\"", - "jaraco.tidelift>=1.4; extra == \"docs\"", + "jaraco.packaging>=8.2; extra == \"docs\"", "packaging; extra == \"testing\"", + "pep517; extra == \"testing\"", "pyfakefs; extra == \"testing\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", - "pytest-enabler>=1.3; extra == \"testing\"", + "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", - "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", + "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-perf>=0.9.2; extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", - "sphinx>=3.5; extra == \"docs\"", + "sphinx; extra == \"docs\"", "typing-extensions>=3.6.4; python_version < \"3.8\"", "zipp>=0.5" ], - "requires_python": ">=3.7", - "version": "5" + "requires_python": ">=3.6", + "version": "4.8.3" }, { "artifacts": [ @@ -215,71 +201,71 @@ "artifacts": [ { "algorithm": "sha256", - "hash": "46846318467efc4556ccfd27816e004270a9eeeeb4d062ce5e6fc7a87c573f93", - "url": "https://files.pythonhosted.org/packages/63/82/2179fdc39bc1bb43296f638ae1dfe2581ec2617b4e87c28b0d23d44b997f/pathspec-0.10.1-py3-none-any.whl" + "hash": "7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a", + "url": "https://files.pythonhosted.org/packages/42/ba/a9d64c7bcbc7e3e8e5f93a52721b377e994c22d16196e2b0f1236774353a/pathspec-0.9.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "7ace6161b621d31e7902eb6b5ae148d12cfd23f4a249b9ffb6b9fee12084323d", - "url": "https://files.pythonhosted.org/packages/24/9f/a9ae1e6efa11992dba2c4727d94602bd2f6ee5f0dedc29ee2d5d572c20f7/pathspec-0.10.1.tar.gz" + "hash": "e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1", + "url": "https://files.pythonhosted.org/packages/f6/33/436c5cb94e9f8902e59d1d544eb298b83c84b9ec37b5b769c5a0ad6edb19/pathspec-0.9.0.tar.gz" } ], "project_name": "pathspec", "requires_dists": [], - "requires_python": ">=3.7", - "version": "0.10.1" + "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", + "version": "0.9" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "027d8e83a2d7de06bbac4e5ef7e023c02b863d7ea5d079477e722bb41ab25788", - "url": "https://files.pythonhosted.org/packages/ed/22/967181c94c3a4063fe64e15331b4cb366bdd7dfbf46fcb8ad89650026fec/platformdirs-2.5.2-py3-none-any.whl" + "hash": "8868bbe3c3c80d42f20156f22e7131d2fb321f5bc86a2a345375c6481a67021d", + "url": "https://files.pythonhosted.org/packages/b1/78/dcfd84d3aabd46a9c77260fb47ea5d244806e4daef83aa6fe5d83adb182c/platformdirs-2.4.0-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "58c8abb07dcb441e6ee4b11d8df0ac856038f944ab98b7be6b27b2a3c7feef19", - "url": "https://files.pythonhosted.org/packages/ff/7b/3613df51e6afbf2306fc2465671c03390229b55e3ef3ab9dd3f846a53be6/platformdirs-2.5.2.tar.gz" + "hash": "367a5e80b3d04d2428ffa76d33f124cf11e8fff2acdaa9b43d545f5c7d661ef2", + "url": "https://files.pythonhosted.org/packages/4b/96/d70b9462671fbeaacba4639ff866fb4e9e558580853fc5d6e698d0371ad4/platformdirs-2.4.0.tar.gz" } ], "project_name": "platformdirs", "requires_dists": [ + "Sphinx>=4; extra == \"docs\"", "appdirs==1.4.4; extra == \"test\"", "furo>=2021.7.5b38; extra == \"docs\"", "proselint>=0.10.2; extra == \"docs\"", "pytest-cov>=2.7; extra == \"test\"", "pytest-mock>=3.6; extra == \"test\"", "pytest>=6; extra == \"test\"", - "sphinx-autodoc-typehints>=1.12; extra == \"docs\"", - "sphinx>=4; extra == \"docs\"" + "sphinx-autodoc-typehints>=1.12; extra == \"docs\"" ], - "requires_python": ">=3.7", - "version": "2.5.2" + "requires_python": ">=3.6", + "version": "2.4" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", - "url": "https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl" + "hash": "e3069e4be3ead9668e21cb9b074cd948f7b3113fd9c8bba083f48247aab8b11c", + "url": "https://files.pythonhosted.org/packages/05/e4/74f9440db36734d7ba83c574c1e7024009ce849208a41f90e94a134dc6d1/tomli-1.2.3-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f", - "url": "https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz" + "hash": "05b6166bff487dc068d322585c7ea4ef78deed501cc124060e0f238e89a9231f", + "url": "https://files.pythonhosted.org/packages/fb/2e/d0a8276b0cf9b9e34fd0660c330acc59656f53bb2209adc75af863a3582d/tomli-1.2.3.tar.gz" } ], "project_name": "tomli", "requires_dists": [], - "requires_python": ">=3.7", - "version": "2.0.1" + "requires_python": ">=3.6", + "version": "1.2.3" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "98f80dee3c03455e92796b58b98ff6ca0b2a6f652120c263efdba4d6c5e58f72", - "url": "https://files.pythonhosted.org/packages/d8/4e/db9505b53c44d7bc324a3d2e09bdf82b0943d6e08b183ae382860f482a87/typed_ast-1.5.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" + "hash": "4e964b4ff86550a7a7d56345c7864b18f403f5bd7380edf44a3c1fb4ee7ac6c6", + "url": "https://files.pythonhosted.org/packages/40/1a/5731a1a3908f60032aead10c2ffc9af12ee708bc9a156ed14a5065a9873a/typed_ast-1.5.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", @@ -291,26 +277,11 @@ "hash": "39e21ceb7388e4bb37f4c679d72707ed46c2fbf2a5609b8b8ebc4b067d977df2", "url": "https://files.pythonhosted.org/packages/07/d2/d55702e8deba2c80282fea0df53130790d8f398648be589750954c2dcce4/typed_ast-1.5.4.tar.gz" }, - { - "algorithm": "sha256", - "hash": "3e123d878ba170397916557d31c8f589951e353cc95fb7f24f6bb69adc1a8a97", - "url": "https://files.pythonhosted.org/packages/0b/e7/8ec06fc870254889198f933a595f139b7871b24bab1116d6128440731ea9/typed_ast-1.5.4-cp39-cp39-macosx_11_0_arm64.whl" - }, - { - "algorithm": "sha256", - "hash": "669dd0c4167f6f2cd9f57041e03c3c2ebf9063d0757dc89f79ba1daa2bfca9d4", - "url": "https://files.pythonhosted.org/packages/0f/59/430b86961d63278fcbced5ba72655ee93aa35e8e908bad4ff138480eb25d/typed_ast-1.5.4-cp310-cp310-macosx_10_9_x86_64.whl" - }, { "algorithm": "sha256", "hash": "7d5d014b7daa8b0bf2eaef684295acae12b036d79f54178b92a2b6a56f92278f", "url": "https://files.pythonhosted.org/packages/2f/87/25abe9558ed6cbd83ad5bfdccf7210a7eefaaf0232f86de99f65992e91fd/typed_ast-1.5.4-cp38-cp38-macosx_11_0_arm64.whl" }, - { - "algorithm": "sha256", - "hash": "ebd9d7f80ccf7a82ac5f88c521115cc55d84e35bf8b446fcd7836eb6b98929a3", - "url": "https://files.pythonhosted.org/packages/2f/d5/02059fe6ca70b11bb831007962323160372ca83843e0bf296e8b6d833198/typed_ast-1.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" - }, { "algorithm": "sha256", "hash": "cf4afcfac006ece570e32d6fa90ab74a17245b83dfd6655a6f68568098345ff6", @@ -318,34 +289,24 @@ }, { "algorithm": "sha256", - "hash": "4e964b4ff86550a7a7d56345c7864b18f403f5bd7380edf44a3c1fb4ee7ac6c6", - "url": "https://files.pythonhosted.org/packages/40/1a/5731a1a3908f60032aead10c2ffc9af12ee708bc9a156ed14a5065a9873a/typed_ast-1.5.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" + "hash": "a94d55d142c9265f4ea46fab70977a1944ecae359ae867397757d836ea5a3f47", + "url": "https://files.pythonhosted.org/packages/38/54/48f7d5b1f954f3a4d8f76e1a11c8497ae899b900cd5a67f826fa3937f701/typed_ast-1.5.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", - "hash": "211260621ab1cd7324e0798d6be953d00b74e0428382991adfddb352252f1d62", - "url": "https://files.pythonhosted.org/packages/48/6c/d96a545d337589dc5d7ecc0f8991122800ffec8dc10a24090619883b515e/typed_ast-1.5.4-cp310-cp310-macosx_11_0_arm64.whl" + "hash": "79b1e0869db7c830ba6a981d58711c88b6677506e648496b1f64ac7d15633aec", + "url": "https://files.pythonhosted.org/packages/4e/c1/cddc664ed3dd7d6bb62c80286c4e088b10556efc9a8db2049b425f8f23f7/typed_ast-1.5.4-cp36-cp36m-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "370788a63915e82fd6f212865a596a0fefcbb7d408bbbb13dea723d971ed8bdc", "url": "https://files.pythonhosted.org/packages/78/18/3ecf5043f227ebd4a43af57e18e6a38f9fe0b81dbfbb8d62eec669d7b69e/typed_ast-1.5.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, - { - "algorithm": "sha256", - "hash": "267e3f78697a6c00c689c03db4876dd1efdfea2f251a5ad6555e82a26847b4ac", - "url": "https://files.pythonhosted.org/packages/96/35/612258bab9e1867b28e3137910df35576b7b0fbb9b6f3013cc23435a79ed/typed_ast-1.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" - }, { "algorithm": "sha256", "hash": "2efae9db7a8c05ad5547d522e7dbe62c83d838d3906a3716d1478b6c1d61388d", "url": "https://files.pythonhosted.org/packages/9b/d5/5540eb496c6817eaee8120fb759c7adb36f91ef647c6bb2877f09acc0569/typed_ast-1.5.4-cp38-cp38-macosx_10_9_x86_64.whl" }, - { - "algorithm": "sha256", - "hash": "c542eeda69212fa10a7ada75e668876fdec5f856cd3d06829e6aa64ad17c8dfe", - "url": "https://files.pythonhosted.org/packages/c4/90/dacf9226b34961277f357c17c33b7cae3f05a5f5b8a1d23bd630d7a97a36/typed_ast-1.5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" - }, { "algorithm": "sha256", "hash": "ed855bbe3eb3715fca349c80174cfcfd699c2f9de574d40527b8429acae23a66", @@ -353,8 +314,8 @@ }, { "algorithm": "sha256", - "hash": "4879da6c9b73443f97e731b617184a596ac1235fe91f98d279a7af36c796da35", - "url": "https://files.pythonhosted.org/packages/f9/57/89ac0020d5ffc762487376d0c78e5d02af795657f18c411155b73de3c765/typed_ast-1.5.4-cp39-cp39-macosx_10_9_x86_64.whl" + "hash": "183afdf0ec5b1b211724dfef3d2cad2d767cbefac291f24d69b00546c1837fb6", + "url": "https://files.pythonhosted.org/packages/e3/7c/7407838e9c540031439f2948bce2763cdd6882ebb72cc0a25b763c10529e/typed_ast-1.5.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" } ], "project_name": "typed-ast", @@ -366,55 +327,50 @@ "artifacts": [ { "algorithm": "sha256", - "hash": "16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e", - "url": "https://files.pythonhosted.org/packages/0b/8e/f1a0a5a76cfef77e1eb6004cb49e5f8d72634da638420b9ea492ce8305e8/typing_extensions-4.4.0-py3-none-any.whl" + "hash": "21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2", + "url": "https://files.pythonhosted.org/packages/45/6b/44f7f8f1e110027cf88956b59f2fad776cca7e1704396d043f89effd3a0e/typing_extensions-4.1.1-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa", - "url": "https://files.pythonhosted.org/packages/e3/a7/8f4e456ef0adac43f452efc2d0e4b242ab831297f1bac60ac815d37eb9cf/typing_extensions-4.4.0.tar.gz" + "hash": "1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42", + "url": "https://files.pythonhosted.org/packages/b1/5a/8b5fbb891ef3f81fc923bf3cb4a578c0abf9471eb50ce0f51c74212182ab/typing_extensions-4.1.1.tar.gz" } ], "project_name": "typing-extensions", "requires_dists": [], - "requires_python": ">=3.7", - "version": "4.4" + "requires_python": ">=3.6", + "version": "4.1.1" }, { "artifacts": [ { "algorithm": "sha256", - "hash": "4fcb6f278987a6605757302a6e40e896257570d11c51628968ccb2a47e80c6c1", - "url": "https://files.pythonhosted.org/packages/40/8a/d63273ed0fa4a3d06f77e7b043f6577d8894e95515b0c187c52e2c0efabb/zipp-3.10.0-py3-none-any.whl" + "hash": "9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc", + "url": "https://files.pythonhosted.org/packages/bd/df/d4a4974a3e3957fd1c1fa3082366d7fff6e428ddb55f074bf64876f8e8ad/zipp-3.6.0-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "7a7262fd930bd3e36c50b9a64897aec3fafff3dfdeec9623ae22b40e93f99bb8", - "url": "https://files.pythonhosted.org/packages/8d/d7/1bd1e0a5bc95a27a6f5c4ee8066ddfc5b69a9ec8d39ab11a41a804ec8f0d/zipp-3.10.0.tar.gz" + "hash": "71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832", + "url": "https://files.pythonhosted.org/packages/02/bf/0d03dbdedb83afec081fefe86cae3a2447250ef1a81ac601a9a56e785401/zipp-3.6.0.tar.gz" } ], "project_name": "zipp", "requires_dists": [ - "flake8<5; extra == \"testing\"", "func-timeout; extra == \"testing\"", - "furo; extra == \"docs\"", - "jaraco.functools; extra == \"testing\"", "jaraco.itertools; extra == \"testing\"", - "jaraco.packaging>=9; extra == \"docs\"", - "jaraco.tidelift>=1.4; extra == \"docs\"", - "more-itertools; extra == \"testing\"", + "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", - "pytest-enabler>=1.3; extra == \"testing\"", + "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", - "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", - "pytest>=6; extra == \"testing\"", + "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", + "pytest>=4.6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", - "sphinx>=3.5; extra == \"docs\"" + "sphinx; extra == \"docs\"" ], - "requires_python": ">=3.7", - "version": "3.10" + "requires_python": ">=3.6", + "version": "3.6" } ], "platform_tag": null @@ -429,7 +385,7 @@ "typing-extensions>=3.10.0.0; python_version < \"3.10\"" ], "requires_python": [ - "<4,>=3.7" + "<3.9,>=3.6.2" ], "resolver_version": "pip-2020-resolver", "style": "universal", diff --git a/pants.toml b/pants.toml index 7b01622d21..509d8896a6 100644 --- a/pants.toml +++ b/pants.toml @@ -120,6 +120,9 @@ extra_requirements = [ [black] lockfile = "lockfiles/black.lock" version = "black==22.3.0" +interpreter_constraints = [ + "CPython>=3.6.2,<3.9", +] [flake8] lockfile = "lockfiles/flake8.lock" From 0b1743c952eef88770c66d9887aaa06db075f0ec Mon Sep 17 00:00:00 2001 From: Jacob Floyd Date: Thu, 3 Nov 2022 22:52:38 -0500 Subject: [PATCH 4/4] update changelog entry --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5b1aecb27e..0f4b03069a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,7 +10,7 @@ Added * Continue introducing `pants `_ to improve DX (Developer Experience) working on StackStorm, improve our security posture, and improve CI reliability thanks in part to pants' use of PEX lockfiles. This is not a user-facing addition. - #5778 #5789 #5817 + #5778 #5789 #5817 #5795 Contributed by @cognifloyd