Closed
Description
I'm trying to follow the developer instructions in the README on a fresh checkout with a clean virtualenv:
If you want to do development on Shiny for Python:
pip install -e ".[dev,test]"
I get the following error:
INFO: pip is looking at multiple versions of shinyswatch to determine which version is compatible with other requirements. This could take a while.
Collecting shinyswatch>=0.7.0 (from shiny==0.1.dev1856)
Using cached shinyswatch-0.7.0-py3-none-any.whl.metadata (7.5 kB)
ERROR: Cannot install shiny, shiny 0.1.dev1856 (from /..../py-shiny) and shiny[dev,test]==0.1.dev1856 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested shiny 0.1.dev1856 (from /..../py-shiny)
shiny[dev,test] 0.1.dev1856 depends on shiny 0.1.dev1856 (from /..../py-shiny)
shinyswatch 0.8.0 depends on shiny>=1.2.0
The user requested shiny 0.1.dev1856 (from /..../py-shiny)
shiny[dev,test] 0.1.dev1856 depends on shiny 0.1.dev1856 (from /..../py-shiny)
shinyswatch 0.7.0 depends on shiny>=1.0.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
My environment:
$ python --version
Python 3.13.1
$ git rev-parse --short HEAD
1e9b8683
I looked at the github workflows, but the install process there is different, so this process probably isn't checked by CI. If I sort this out, I'll file a PR.