Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with tensorflow #71

Open
nthiery opened this issue Jan 12, 2023 · 3 comments
Open

Incompatibility with tensorflow #71

nthiery opened this issue Jan 12, 2023 · 3 comments
Labels
question Further information is requested

Comments

@nthiery
Copy link

nthiery commented Jan 12, 2023

Comment:

Hello,

I am trying to install pythran (in fact SageMath) in the same conda environment as tensorflow
for our JupyterHub@Paris-Saclay. However, I run in the following version incompatibilities with gast:

Is there anything that could be done, on pythran, gast, or tensorflow's side to alleviate this?

Thanks in advance!

cc: @saraedum, @serge-sans-paille, @isuruf

@nthiery nthiery added the question Further information is requested label Jan 12, 2023
@isuruf
Copy link
Member

isuruf commented Jan 12, 2023

See tensorflow/tensorflow#56244

@serge-sans-paille
Copy link
Contributor

serge-sans-paille commented Jan 12, 2023 via email

@nthiery
Copy link
Author

nthiery commented Jan 12, 2023

Thank you @isuruf for the pointer; I somehow missed the obvious! I'll comment there.

hmaarrfk added a commit to hmaarrfk/mamba that referenced this issue Apr 9, 2023
```
mamba install "pythran>=0.12.1"

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.4.2) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████

Looking for: ["pythran[version='>=0.12.1']"]

warning  libmamba Cache file "/home/mark/mambaforge/pkgs/cache/1a6399ac.json" was modified by another program
warning  libmamba Cache file "/home/mark/mambaforge/pkgs/cache/8e383ab4.json" was modified by another program
conda-forge/noarch                                  11.8MB @ 275.4kB/s 43.1s
conda-forge/linux-64                                30.7MB @ 343.3kB/s 1m:29.9s

Pinned packages:
  - python 3.9.*

Could not solve for environment specs
The following packages are incompatible
└─ pythran >=0.12.1  is installable with the potential options
   ├─ pythran 0.12.1 would require
   │  ├─ beniget 0.4.* , which requires
   │  │  └─ gast >=0.5.0,<0.6.0 , which can be installed;
   │  └─ gast 0.5.* , which can be installed;
   ├─ pythran 0.12.1 would require
   │  └─ python >=3.10,<3.11.0a0 , which can be installed;
   ├─ pythran 0.12.1 would require
   │  └─ python >=3.11,<3.12.0a0 , which can be installed;
   └─ pythran 0.12.1 would require
      └─ python >=3.8,<3.9.0a0 , which can be installed.
```

The above example hits the incompatibility explained in
conda-forge/pythran-feedstock#71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants