spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.25k stars 1.6k forks source link

Spyder 6.0.0b2 - python 3.9.18 compatible? #22208

Closed mg3146 closed 2 months ago

mg3146 commented 3 months ago

Hi, is the latest version of Spyder 6 compatible with python 3.9.18?

I'm running 6.0.0a3 with 3.9.18, but conda is blocking me from updating due to an unsolvable requirement due to 3.9 (it seems).

Thanks

ccordoba12 commented 3 months ago

Hey @mg3146, thanks for reporting. Yeah, Spyder 6 is compatible with Python 3.8 and above.

What's the error you're seeing?

mg3146 commented 3 months ago

When I update my conda env with: conda install -c conda-forge/label/spyder_dev -c conda-forge/label/spyder_kernels_rc -c conda-forge spyder=6.0.0b2

I get:

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package yarl-1.9.4-py39h7a188e9_0 requires pypy3.9 >=7.3.13, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ pin-1 is installable and it requires
│  └─ python 3.9.* , which can be installed;
├─ spyder 6.0.0b2**  is installable with the potential options
│  ├─ spyder 6.0.0b2 would require
│  │  └─ yarl >=1.9.4  with the potential options
│  │     ├─ yarl 1.9.4 would require
│  │     │  └─ pypy3.9 >=7.3.13 , which requires
│  │     │     └─ tk >=8.6.13,<8.7.0a0 , which can be installed;
│  │     ├─ yarl 1.9.4 would require
│  │     │  └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
│  │     ├─ yarl 1.9.4 would require
│  │     │  └─ python >=3.11,<3.12.0a0 , which conflicts with any installable versions previously reported;
│  │     ├─ yarl 1.9.4 would require
│  │     │  └─ python >=3.12,<3.13.0a0 , which conflicts with any installable versions previously reported;
│  │     ├─ yarl 1.9.4 would require
│  │     │  └─ python >=3.8,<3.9.0a0 , which conflicts with any installable versions previously reported;
│  │     └─ yarl 1.9.4 would require
│  │        └─ vc14_runtime >=14.29.30139  with the potential options
│  │           ├─ vc14_runtime 14.29.30139 would require
│  │           │  └─ vs2015_runtime 14.29.30139.* , which can be installed;
│  │           ├─ vc14_runtime 14.29.30139 would require
│  │           │  └─ vs2015_runtime 14.29.30139.* *_14, which can be installed;
│  │           ├─ vc14_runtime 14.29.30139 would require
│  │           │  └─ vs2015_runtime 14.29.30139.* *_15, which can be installed;
│  │           ├─ vc14_runtime 14.29.30139 would require
│  │           │  └─ vs2015_runtime 14.29.30139.* *_16, which can be installed;
│  │           ├─ vc14_runtime 14.29.30139 would require
│  │           │  └─ vs2015_runtime 14.29.30139.* *_17, which can be installed;
│  │           ├─ vc14_runtime 14.29.30139 would require
│  │           │  └─ vs2015_runtime 14.29.30139.* *_18, which can be installed;
│  │           ├─ vc14_runtime 14.29.30139 would require
│  │           │  └─ vs2015_runtime 14.29.30139.* *_20, which can be installed;
│  │           ├─ vc14_runtime 14.32.31332 would require
│  │           │  └─ vs2015_runtime 14.32.31332.* , which can be installed;
│  │           ├─ vc14_runtime 14.32.31332 would require
│  │           │  └─ vs2015_runtime 14.32.31332.* *_14, which can be installed;
│  │           ├─ vc14_runtime 14.32.31332 would require
│  │           │  └─ vs2015_runtime 14.32.31332.* *_15, which can be installed;
│  │           ├─ vc14_runtime 14.32.31332 would require
│  │           │  └─ vs2015_runtime 14.32.31332.* *_16, which can be installed;
│  │           ├─ vc14_runtime 14.32.31332 would require
│  │           │  └─ vs2015_runtime 14.32.31332.* *_17, which can be installed;
│  │           ├─ vc14_runtime 14.34.31931 would require
│  │           │  └─ vs2015_runtime 14.34.31931.* , which can be installed;
│  │           ├─ vc14_runtime 14.34.31931 would require
│  │           │  └─ vs2015_runtime 14.34.31931.* *_14, which can be installed;
│  │           ├─ vc14_runtime 14.34.31931 would require
│  │           │  └─ vs2015_runtime 14.34.31931.* *_15, which can be installed;
│  │           ├─ vc14_runtime 14.34.31931 would require
│  │           │  └─ vs2015_runtime 14.34.31931.* *_16, which can be installed;
│  │           ├─ vc14_runtime 14.34.31931 would require
│  │           │  └─ vs2015_runtime 14.34.31931.* *_17, which can be installed;
│  │           ├─ vc14_runtime 14.36.32532 would require
│  │           │  └─ vs2015_runtime 14.36.32532.* *_17, which can be installed;
│  │           ├─ vc14_runtime 14.36.32532 would require
│  │           │  └─ vs2015_runtime 14.36.32532.* *_16, which can be installed;
│  │           ├─ vc14_runtime 14.38.33130 would require
│  │           │  └─ vs2015_runtime 14.38.33130.* *_20, which can be installed;
│  │           ├─ vc14_runtime 14.38.33130 would require
│  │           │  └─ vs2015_runtime 14.38.33130.* *_18, which can be installed;
│  │           ├─ vc14_runtime 14.38.33135 would require
│  │           │  └─ vs2015_runtime 14.38.33135.* *_20, which can be installed;
│  │           └─ vc14_runtime 14.40.33810 would require
│  │              └─ vs2015_runtime 14.40.33810.* *_20, which can be installed;
│  ├─ spyder 6.0.0b2 would require
│  │  └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
│  ├─ spyder 6.0.0b2 would require
│  │  └─ python >=3.11,<3.12.0a0 , which conflicts with any installable versions previously reported;
│  ├─ spyder 6.0.0b2 would require
│  │  └─ python >=3.12,<3.13.0a0 , which conflicts with any installable versions previously reported;
│  └─ spyder 6.0.0b2 would require
│     └─ python >=3.8,<3.9.0a0 , which conflicts with any installable versions previously reported;
├─ tk 8.6.12.*  is not installable because it conflicts with any installable versions previously reported;
└─ vs2015_runtime 14.27.29016.*  is not installable because it conflicts with any installable versions previously reported.

Pins seem to be involved in the conflict. Currently pinned specs:
 - python 3.9.* (labeled as 'pin-1')
ccordoba12 commented 3 months ago

This seems an issue with the Conda package solver. What do you get if you run this command?

conda create -n foo -c conda-forge/label/spyder_dev -c conda-forge/label/spyder_kernels_rc -c conda-forge spyder=6.0.0b2 python=3.9
mg3146 commented 3 months ago

that seems to be fine - it gives me the option to Y/N install that. Any suggestions on how I can fix that solver issue...?

mg3146 commented 3 months ago

when I do conda list though - it seems like I have the right versions of the packages listed in my error output image

ccordoba12 commented 2 months ago

when I do conda list though - it seems like I have the right versions of the packages listed in my error output

Sorry but from your screenshot is clear that you have a mix of conda, conda-forge and pypi packages in your env, which I'm almost certain is the source of this problem.

Perhaps you're not aware of that, but packages from those sources are binary incompatible and can't be mixed successfully in a single environment.

So, my advice for you is remove your current env and create a new one using only conda-forge packages.