Skip to content

Update conda dependencies #170

Open
Open

Description

@joeldw

When using conda to install python-swat (swat from the sas-institute channel) python is downgraded to at most 3.9, and in an environment with other common packages like matplotlib, the downgrade is even further - to 3.6. Can python >3.11 be allowed? And for the second issue, I think the dependency on libuuid < 2.0 is to blame. Can >2.0 be supported?

From index.json, version 1.13.3

"depends": [
    "krb5 >=1.20.1,<1.21.0a0",
    "libnuma",
    "libuuid >=1.41.5,<2.0a0",
    "pandas",
    "python >=3.9,<3.10.0a0",
    "pytz",
    "requests",
    "six"
  ]

Activity

  1. bkemper24 commented on Feb 13, 2024

    @bkemper24
    Contributor

    I'm not sure where the "python >=3.9,<3.10.0a0" dependency is coming from. python-swat supports python <= 3.11. It does not yet support python 3.12.
    What operating system and version of anaconda are you running ?

  2. joeldw commented on Apr 12, 2024

    @joeldw
    Author

    The "python >=3.9,<3.10.0a0" came from the index.json that I downloaded from the release in this project e.g. https://github.com/sassoftware/python-swat/releases/download/v1.13.3/python-swat-1.13.3+vb23040-linux-64.tar.gz, or from the conda repositories.

    Also if it helps clarify, I can create an enviornment with python 3.7 and swat succesfully using conda. But for >3.7, conda is not able to solve specs (below test for 3.8, 3.9, 3.10, and 3.11

    (base) [xxxxx@xxxxxx ~]$ conda create -n test38 python=3.8 swat
    Channels:
     - defaults
     - sas-institute
    Platform: linux-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed
    
    LibMambaUnsatisfiableError: Encountered problems while solving:
      - nothing provides libuuid >=1.0.3,<2.0a0 needed by swat-1.4.0-py34_0
    
    Could not solve for environment specs
    The following packages are incompatible
    ├─ python 3.8**  is requested and can be installed;
    └─ swat is not installable because there are no viable options
       ├─ swat [1.10.0|1.11.0|...|1.9.3] would require
       │  └─ libuuid >=1.0.3,<2.0a0 , which does not exist (perhaps a missing channel);
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=2.7,<2.8.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.5,<3.6.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.4,<3.5.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.7.0|1.7.1|1.8.0|1.8.1] would require
       │  └─ krb5 >=1.18.2,<1.19.0a0 , which does not exist (perhaps a missing channel);
       ├─ swat [1.12.0|1.12.1|...|1.13.3] would require
       │  └─ libuuid >=1.41.5,<2.0a0 , which does not exist (perhaps a missing channel);
       └─ swat [1.12.2|1.13.0] would require
          └─ krb5 >=1.19.4,<1.20.0a0 , which does not exist (perhaps a missing channel).
    
    (base) [xxxxx@xxxxxx ~]$ conda create -n test39 python=3.9 swat
    Channels:
     - defaults
     - sas-institute
    Platform: linux-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed
    
    LibMambaUnsatisfiableError: Encountered problems while solving:
      - nothing provides libuuid >=1.0.3,<2.0a0 needed by swat-1.4.0-py34_0
    
    Could not solve for environment specs
    The following packages are incompatible
    ├─ python 3.9**  is requested and can be installed;
    └─ swat is not installable because there are no viable options
       ├─ swat [1.10.0|1.11.0|...|1.9.3] would require
       │  └─ libuuid >=1.0.3,<2.0a0 , which does not exist (perhaps a missing channel);
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=2.7,<2.8.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.5,<3.6.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.4,<3.5.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.7.0|1.7.1|1.8.0|1.8.1] would require
       │  └─ krb5 >=1.18.2,<1.19.0a0 , which does not exist (perhaps a missing channel);
       ├─ swat [1.12.0|1.12.1|...|1.13.3] would require
       │  └─ libuuid >=1.41.5,<2.0a0 , which does not exist (perhaps a missing channel);
       └─ swat [1.12.2|1.13.0] would require
          └─ krb5 >=1.19.4,<1.20.0a0 , which does not exist (perhaps a missing channel).
    
    (base) [xxxxx@xxxxxx ~]$ conda create -n test310 python=3.10 swat
    Channels:
     - defaults
     - sas-institute
    Platform: linux-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed
    
    LibMambaUnsatisfiableError: Encountered problems while solving:
      - nothing provides libuuid >=1.0.3,<2.0a0 needed by swat-1.4.0-py34_0
    
    Could not solve for environment specs
    The following packages are incompatible
    ├─ python 3.10**  is requested and can be installed;
    └─ swat is not installable because there are no viable options
       ├─ swat [1.10.0|1.11.0|...|1.9.3] would require
       │  └─ libuuid >=1.0.3,<2.0a0 , which does not exist (perhaps a missing channel);
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=2.7,<2.8.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.5,<3.6.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.4,<3.5.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.7.0|1.7.1|1.8.0|1.8.1] would require
       │  └─ krb5 >=1.18.2,<1.19.0a0 , which does not exist (perhaps a missing channel);
       ├─ swat [1.12.0|1.12.1|...|1.13.3] would require
       │  └─ libuuid >=1.41.5,<2.0a0 , which does not exist (perhaps a missing channel);
       └─ swat [1.12.2|1.13.0] would require
          └─ krb5 >=1.19.4,<1.20.0a0 , which does not exist (perhaps a missing channel).
    
    (base) [xxxxx@xxxxxx ~]$ conda create -n test311 python=3.11 swat
    Channels:
     - defaults
     - sas-institute
    Platform: linux-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed
    
    LibMambaUnsatisfiableError: Encountered problems while solving:
      - nothing provides libuuid >=1.0.3,<2.0a0 needed by swat-1.4.0-py34_0
    
    Could not solve for environment specs
    The following packages are incompatible
    ├─ python 3.11**  is requested and can be installed;
    └─ swat is not installable because there are no viable options
       ├─ swat [1.10.0|1.11.0|...|1.9.3] would require
       │  └─ libuuid >=1.0.3,<2.0a0 , which does not exist (perhaps a missing channel);
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=2.7,<2.8.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.5,<3.6.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.4,<3.5.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.5.1|1.5.2|1.6.0|1.6.1] would require
       │  └─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously reported;
       ├─ swat [1.7.0|1.7.1|1.8.0|1.8.1] would require
       │  └─ krb5 >=1.18.2,<1.19.0a0 , which does not exist (perhaps a missing channel);
       ├─ swat [1.12.0|1.12.1|...|1.13.3] would require
       │  └─ libuuid >=1.41.5,<2.0a0 , which does not exist (perhaps a missing channel);
       └─ swat [1.12.2|1.13.0] would require
          └─ krb5 >=1.19.4,<1.20.0a0 , which does not exist (perhaps a missing channel).
    
    
  3. joeldw commented on Dec 19, 2024

    @joeldw
    Author

    Am I to infer from this month's release notes that this issue won't be worked on, and SAS has decided not to support conda?

    1.15.0 - 2024-12-05
    Add Python 3.12 support
    Update TK subsystem
    Conda packages will no longer be generated

  4. bkemper24 commented on Jan 6, 2025

    @bkemper24
    Contributor

    That is correct. conda will no longer be supported.
    The installation packages that existed previously in the conda channel will still be available, but no new versions of python-swat, including the latest package which provides Python 3.12 support, will be uploaded to the conda site.
    Looking at the error message you are seeing ( LibMambaUnsatisfiableError ) it appears that the version of conda you are using is using some type of mamba install. I think that may be what is causing your problem. Unfortunately, mamba is also not supported at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions