AnacondaRecipes / repodata-hotfixes

Changes to package metadata to fix behavior
BSD 3-Clause "New" or "Revised" License
14 stars 20 forks source link

Fix `cryptography` depends/contraints for pyjwt=2.1.0 #138

Closed chenghlee closed 3 years ago

chenghlee commented 3 years ago

pyjwt 2.1.0 packages for Python <3.9 have incorrectly specified run dependencies on cryptography; this repodata patch addresses that issue. Note that the feedstock seems to be correct.

Partial diff of this patch (linux-64 shown here, but similar results for all platforms):

 --- main/linux-64/repodata-reference.json
+++ main/linux-64/repodata-patched.json
@@ -327375,12 +327375,14 @@
       "version": "2.0.1"
     },
     "pyjwt-2.1.0-py36h06a4308_0.tar.bz2": {
       "build": "py36h06a4308_0",
       "build_number": 0,
+      "constrains": [
+        "cryptography >=3.3.1,<4.0.0"
+      ],
       "depends": [
-        "cryptography >=2.6,<3.0.0",
         "python >=3.6,<3.7.0a0"
       ],
       "license": "MIT",
       "license_family": "MIT",
       "md5": "b0551c9f70d9de0ef12f89df8bce0258",
@@ -327392,12 +327394,14 @@
       "version": "2.1.0"
     },
     "pyjwt-2.1.0-py37h06a4308_0.tar.bz2": {
       "build": "py37h06a4308_0",
       "build_number": 0,
+      "constrains": [
+        "cryptography >=3.3.1,<4.0.0"
+      ],
       "depends": [
-        "cryptography >=2.6,<3.0.0",
         "python >=3.7,<3.8.0a0"
       ],
       "license": "MIT",
       "license_family": "MIT",
       "md5": "ce6980cc7ff52063750c682f2fcc3a80",
@@ -327409,12 +327413,14 @@
       "version": "2.1.0"
     },
     "pyjwt-2.1.0-py38h06a4308_0.tar.bz2": {
       "build": "py38h06a4308_0",
       "build_number": 0,
+      "constrains": [
+        "cryptography >=3.3.1,<4.0.0"
+      ],
       "depends": [
-        "cryptography >=2.6,<3.0.0",
         "python >=3.8,<3.9.0a0"
       ],
       "license": "MIT",
       "license_family": "MIT",
       "md5": "4eb0567ef65a9a649be8b40354d0e498",