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

Package conflicts #23

Open
conery opened this issue Dec 26, 2022 · 2 comments
Open

Package conflicts #23

conery opened this issue Dec 26, 2022 · 2 comments

Comments

@conery
Copy link

conery commented Dec 26, 2022

Docker build failed when I tried to make the container. The step that failed was "RUN conda install...", and the error message was "Package python conflicts for:" followed by:

#8 2832.8 conda[version='>=4.7.12'] -> conda-package-handling[version='>=1.3.0'] -> six -> python[version='<4.0|>=3.5,<3.6.0a0|>=3.6,<4.0']
#8 2832.8 ruamel_yaml -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 pip -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 setuptools -> certifi[version='>=2016.9.26'] -> python
#8 2832.8 pyopenssl -> cryptography[version='>=2.8'] -> python[version='>=3.10,<3.11.0a0|>=3.9,<3.10.0a0']
#8 2832.8 conda[version='>=4.7.12'] -> tqdm[version='>=4'] -> python[version='>=2.7|>=3.5|>=3.6']
#8 2832.8 pip -> wheel -> python
#8 2832.8 cffi -> pycparser -> python[version='>=3.6']
#8 2832.8 requests -> urllib3[version='>=1.21.1,<1.27'] -> ipaddress -> python[version='<=3.3']
#8 2832.8 certifi -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 pycosat -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 requests -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 pyopenssl -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']
#8 2832.8 idna -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 urllib3 -> ipaddress -> python[version='<=3.3|>=3.5|>=3.6']
#8 2832.8 conda[version='>=4.7.12'] -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 cryptography -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 six -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 pyopenssl -> cryptography[version='>=2.8'] -> ipaddress -> python[version='<=3.3|>=3.5']
#8 2832.8 cffi -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 requests -> urllib3[version='>=1.21.1,<1.27'] -> python[version='<4.0|>=3.5|>=3.6,<4.0']
#8 2832.8 asn1crypto -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 conda-package-handling -> tqdm -> python[version='>=2.7|>=3.5,<3.6.0a0']
#8 2832.8 pycparser -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
#8 2832.8 wheel -> setuptools -> python[version='>=3.10,<3.11.0a0|>=3.9,<3.10.0a0']
#8 2832.8 chardet -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 conda-package-handling -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 wheel -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']
#8 2832.8 enum34 -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 conda[version='>=4.7.12'] -> pyopenssl[version='>=16.2.0'] -> cryptography[version='>=2.8'] -> ipaddress -> python[version='<=3.3']
#8 2832.8 tqdm -> python[version='>=2.7|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 futures -> python[version='>=2.7,<2.8.0a0']
#8 2832.8 urllib3 -> python[version='<4.0|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.6,<4.0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 pysocks -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 ipaddress -> python[version='<=3.3|>=2.7,<2.8.0a0']
#8 2832.8 setuptools -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
#8 2832.8 cryptography -> cffi[version='>=1.12'] -> pycparser -> python[version='>=3.6']
#8 2832.8 cryptography -> ipaddress -> python[version='<=3.3|>=3.5']
#8 2832.8 Package pip conflicts for:
#8 2832.8 requests -> python[version='>=3.8,<3.9.0a0'] -> pip
#8 2832.8 ruamel_yaml -> python[version='>=2.7,<2.8.0a0'] -> pip
#8 2832.8 conda[version='>=4.7.12'] -> python[version='>=3.7,<3.8.0a0'] -> pip
#8 2832.8 pycparser -> python[version='>=3.7,<3.8.0a0'] -> pip
#8 2832.8 jinja2 -> python -> pip
#8 2832.8 conda-package-handling -> python[version='>=3.6,<3.7.0a0'] -> pip
#8 2832.8 scipy -> python[version='>=3.8,<3.9.0a0'] -> pip
#8 2832.8 cryptography -> python[version='>=3.9,<3.10.0a0'] -> pip
#8 2832.8 certifi -> python[version='>=3.10,<3.11.0a0'] -> pip
#8 2832.8 wheel -> python -> pip
#8 2832.8 enum34 -> python[version='>=3.7,<3.8.0a0'] -> pip
#8 2832.8 setuptools -> python[version='>=3.10,<3.11.0a0'] -> pip
#8 2832.8 six -> python[version='>=3.7,<3.8.0a0'] -> pip
#8 2832.8 pip
#8 2832.8 pip
#8 2832.8 asn1crypto -> python[version='>=3.6,<3.7.0a0'] -> pip
#8 2832.8 pysocks -> python[version='>=2.7,<2.8.0a0'] -> pip
#8 2832.8 pyopenssl -> python[version='>=2.7,<2.8.0a0'] -> pip
#8 2832.8 tqdm -> python[version='>=3.9,<3.10.0a0'] -> pip
#8 2832.8 urllib3 -> python[version='>=3.7,<3.8.0a0'] -> pip
#8 2832.8 chardet -> python[version='>=3.5,<3.6.0a0'] -> pip
#8 2832.8 python=3.10 -> pip
#8 2832.8 ipaddress -> python[version='>=2.7,<2.8.0a0'] -> pip
#8 2832.8 pandas -> python[version='>=2.7,<2.8.0a0'] -> pip
#8 2832.8 futures -> python[version='>=2.7,<2.8.0a0'] -> pip
#8 2832.8 pyyaml -> python[version='>=3.8,<3.9.0a0'] -> pip
#8 2832.8 cffi -> python[version='>=3.7,<3.8.0a0'] -> pip
#8 2832.8 idna -> python[version='>=3.5,<3.6.0a0'] -> pip
#8 2832.8 pycosat -> python[version='>=3.7,<3.8.0a0'] -> pip
#8 2832.8 numpy -> python[version='>=3.7,<3.8.0a0'] -> pip
#8 2832.8 Package setuptools conflicts for:
#8 2832.8 chardet -> python[version='>=3.5,<3.6.0a0'] -> pip -> setuptools
#8 2832.8 pysocks -> python[version='>=2.7,<2.8.0a0'] -> pip -> setuptools
#8 2832.8 six -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools
#8 2832.8 conda-package-handling -> python[version='>=3.6,<3.7.0a0'] -> pip -> setuptools
#8 2832.8 scipy -> python[version='>=3.8,<3.9.0a0'] -> pip -> setuptools
#8 2832.8 wheel -> setuptools
#8 2832.8 enum34 -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools
#8 2832.8 certifi -> python[version='>=3.10,<3.11.0a0'] -> pip -> setuptools
#8 2832.8 urllib3 -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools
#8 2832.8 pycosat -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools
#8 2832.8 pycparser -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools
#8 2832.8 requests -> python[version='>=3.8,<3.9.0a0'] -> pip -> setuptools
#8 2832.8 asn1crypto -> python[version='>=3.6,<3.7.0a0'] -> pip -> setuptools
#8 2832.8 pyopenssl -> python[version='>=2.7,<2.8.0a0'] -> pip -> setuptools
#8 2832.8 futures -> python[version='>=2.7,<2.8.0a0'] -> pip -> setuptools
#8 2832.8 cffi -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools
#8 2832.8 idna -> python[version='>=3.5,<3.6.0a0'] -> pip -> setuptools
#8 2832.8 jinja2 -> setuptools
#8 2832.8 python=3.10 -> pip -> setuptools
#8 2832.8 numpy -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools
#8 2832.8 ipaddress -> python[version='>=2.7,<2.8.0a0'] -> pip -> setuptools
#8 2832.8 setuptools
#8 2832.8 tqdm -> python[version='>=3.9,<3.10.0a0'] -> pip -> setuptools
#8 2832.8 cryptography -> python[version='>=3.9,<3.10.0a0'] -> pip -> setuptools
#8 2832.8 conda[version='>=4.7.12'] -> setuptools[version='>=31.0.1']
#8 2832.8 ruamel_yaml -> python[version='>=2.7,<2.8.0a0'] -> pip -> setuptools
#8 2832.8 pyyaml -> python[version='>=3.8,<3.9.0a0'] -> pip -> setuptools
#8 2832.8 setuptools
#8 2832.8 pip -> setuptools
#8 2832.8 pandas -> numexpr[version='>=2.7.1'] -> setuptools
#8 2832.8 conda[version='>=4.7.12'] -> ruamel.yaml[version='>=0.11.14,<0.18'] -> setuptools
#8 2832.8 Package python-dateutil conflicts for:
#8 2832.8 pandas -> python-dateutil[version='>=2.5.*|>=2.6.1|>=2.7.3|>=2.8.1']
#8 2832.8 
@bryevdv
Copy link
Member

bryevdv commented Dec 26, 2022

Not really sure, this is the exact dockerfile that was used to deploy the currently running site at demo.bokeh.org, so it worked in the (recent past). This seems suspect:

#8 2832.8 pip -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']

Since the dockefile specifies Python 3.10. TBH this seems like a metadata problem on conda's end, or something. Perhaps transitory, so maybe just try again if this is for your own use, or alternatively try lowering the python version.

FYI the main purpose of this repo is to deploy new versions of the demo site, which only happens a few times a year. It's doubtful anyone will look at this until the next time that happens (and if it is a metadata issue then the problem may just resolve itself by then).

@conery
Copy link
Author

conery commented Dec 27, 2022

Thanks for that note, Bryan. Yes, it's for personal use (I'm trying to figure out how to deploy a Bokeh server on a Windows VM at AWS Lightsail). I'll try tweaking that Python version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants