AnacondaRecipes / repodata-hotfixes

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

restrict python max version on old s3fs releases #201

Closed cbouss closed 1 year ago

cbouss commented 1 year ago

From Martin Durant: It was suggested I cross-post here: I need some help editing repodata. Ancient versions of s3fs are being picked up, because downgrading it by many years is a fewer number of releases back that it would be to downgrade botocore a few months (which release at least once per week). The version of s3fs being picked up is the last one not to require aiobotocore and a pin on botocore. Since this release predates py3.9, it is reasonable to set the python version bound on it to < 3.9. So I would like to change: for s3fs <= 0.4.2 on defaults and conda-forge to python < 3.9 and whatever lower bound already exists (in practice, the lower bound might not matter, because of dependency on fsspec) Since pip also has this problem, I might separately yank these versions from <=2020 from pypi too. The problem is not as severe for pip, because people seem to be happier to pin versions, and generally have less "kitchen sink" envvironments.

cbouss commented 1 year ago

diff:

*** main/noarch/repodata-reference.json 2023-07-10 10:14:11.000000000 -0400
--- main/noarch/repodata-patched.json   2023-07-10 10:14:23.000000000 -0400
***************
*** 76269,76279 ****
      "s3fs-0.2.1-py_0.tar.bz2": {
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
!         "python"
        ],
        "license": "BSD 3-Clause",
        "md5": "5b7a26f1a38cf4398b1963b4e96f38f1",
        "name": "s3fs",
        "noarch": "python",
--- 76269,76279 ----
      "s3fs-0.2.1-py_0.tar.bz2": {
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
!         "python <3.9"
        ],
        "license": "BSD 3-Clause",
        "md5": "5b7a26f1a38cf4398b1963b4e96f38f1",
        "name": "s3fs",
        "noarch": "python",
***************
*** 76287,76297 ****
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec",
!         "python >=3.5"
        ],
        "license": "BSD 3-Clause",
        "md5": "51f8107b46be84d846567ac407e6136b",
        "name": "s3fs",
        "noarch": "python",
--- 76287,76297 ----
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec",
!         "python >=3.5,<3.9"
        ],
        "license": "BSD 3-Clause",
        "md5": "51f8107b46be84d846567ac407e6136b",
        "name": "s3fs",
        "noarch": "python",
***************
*** 76305,76315 ****
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec",
!         "python >=3.5"
        ],
        "license": "BSD 3-Clause",
        "md5": "d59b97b829fd81066a8d56d7117a7aaa",
        "name": "s3fs",
        "noarch": "python",
--- 76305,76315 ----
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec",
!         "python >=3.5,<3.9"
        ],
        "license": "BSD 3-Clause",
        "md5": "d59b97b829fd81066a8d56d7117a7aaa",
        "name": "s3fs",
        "noarch": "python",
***************
*** 76323,76333 ****
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec >=0.6.0",
!         "python >=3.5"
        ],
        "license": "BSD 3-Clause",
        "md5": "036b1f3850a5e1bf043f2be456f9562b",
        "name": "s3fs",
        "noarch": "python",
--- 76323,76333 ----
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec >=0.6.0",
!         "python >=3.5,<3.9"
        ],
        "license": "BSD 3-Clause",
        "md5": "036b1f3850a5e1bf043f2be456f9562b",
        "name": "s3fs",
        "noarch": "python",
***************
*** 76341,76351 ****
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec >=0.6.0",
!         "python >=3.5"
        ],
        "license": "BSD 3-Clause",
        "md5": "bb89117e9e65613f8c7a822519dbc33b",
        "name": "s3fs",
        "noarch": "python",
--- 76341,76351 ----
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec >=0.6.0",
!         "python >=3.5,<3.9"
        ],
        "license": "BSD 3-Clause",
        "md5": "bb89117e9e65613f8c7a822519dbc33b",
        "name": "s3fs",
        "noarch": "python",
***************
*** 159426,159436 ****
      "s3fs-0.2.1-py_0.conda": {
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
!         "python"
        ],
        "license": "BSD 3-Clause",
        "md5": "a4bcf38ae0a6d9aea766917be629b6c6",
        "name": "s3fs",
        "noarch": "python",
--- 159426,159436 ----
      "s3fs-0.2.1-py_0.conda": {
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
!         "python <3.9"
        ],
        "license": "BSD 3-Clause",
        "md5": "a4bcf38ae0a6d9aea766917be629b6c6",
        "name": "s3fs",
        "noarch": "python",
***************
*** 159444,159454 ****
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec",
!         "python >=3.5"
        ],
        "license": "BSD 3-Clause",
        "md5": "936922955135fd7868fb68f8db5d7c62",
        "name": "s3fs",
        "noarch": "python",
--- 159444,159454 ----
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec",
!         "python >=3.5,<3.9"
        ],
        "license": "BSD 3-Clause",
        "md5": "936922955135fd7868fb68f8db5d7c62",
        "name": "s3fs",
        "noarch": "python",
***************
*** 159462,159472 ****
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec",
!         "python >=3.5"
        ],
        "license": "BSD 3-Clause",
        "md5": "fbaef6e433994f8b51c5b3161c2bce04",
        "name": "s3fs",
        "noarch": "python",
--- 159462,159472 ----
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec",
!         "python >=3.5,<3.9"
        ],
        "license": "BSD 3-Clause",
        "md5": "fbaef6e433994f8b51c5b3161c2bce04",
        "name": "s3fs",
        "noarch": "python",
***************
*** 159480,159490 ****
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec >=0.6.0",
!         "python >=3.5"
        ],
        "license": "BSD 3-Clause",
        "md5": "c68af2e3c82840eae5ee9115488969e4",
        "name": "s3fs",
        "noarch": "python",
--- 159480,159490 ----
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec >=0.6.0",
!         "python >=3.5,<3.9"
        ],
        "license": "BSD 3-Clause",
        "md5": "c68af2e3c82840eae5ee9115488969e4",
        "name": "s3fs",
        "noarch": "python",
***************
*** 159498,159508 ****
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec >=0.6.0",
!         "python >=3.5"
        ],
        "license": "BSD 3-Clause",
        "md5": "00b6bf25b4a28dac1bd9a2e5f1c85fcd",
        "name": "s3fs",
        "noarch": "python",
--- 159498,159508 ----
        "build": "py_0",
        "build_number": 0,
        "depends": [
          "boto3",
          "fsspec >=0.6.0",
!         "python >=3.5,<3.9"
        ],
        "license": "BSD 3-Clause",
        "md5": "00b6bf25b4a28dac1bd9a2e5f1c85fcd",
        "name": "s3fs",
        "noarch": "python",
martindurant commented 1 year ago

ref https://github.com/dask/dask/issues/10397