conda / conda-build

Commands and tools for building conda packages
https://docs.conda.io/projects/conda-build/
Other
381 stars 420 forks source link

Obscure Unsatisfiable dependencies upon build #4546

Closed frgfm closed 11 months ago

frgfm commented 2 years ago

Checklist

What happened?

Hello there :wave:

I've been having a strange problem with conda-build on a project https://github.com/pyronear/pyro-vision. So far, I have been able to build and upload my conda build without any issue.

It's been a while since I haven't done it for this project (considering I succeeded doing it for another project of mine in the past month, and a few minutes ago), but I'm getting a serious error about unsatisfiable dependencies running the command:

BUILD_VERSION="0.2.0" python setup.py sdist
mkdir conda-dist
conda-build .conda/ -c pytorch -c frgfm --output-folder conda-dist

which throws:

No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.16
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.16
Adding in variants from internal_defaults
INFO:conda_build.variants:Adding in variants from internal_defaults
Attempting to finalize metadata for pyrovision
INFO:conda_build.metadata:Attempting to finalize metadata for pyrovision
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): conda.anaconda.org:443
DEBUG:urllib3.connectionpool:https://conda.anaconda.org:443 "GET /t/py-f3533598-d829-4e04-8073-1fa445ca96f5/pytorch/linux-64/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://conda.anaconda.org:443 "GET /t/py-f3533598-d829-4e04-8073-1fa445ca96f5/pytorch/noarch/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://conda.anaconda.org:443 "GET /t/py-f3533598-d829-4e04-8073-1fa445ca96f5/frgfm/linux-64/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://conda.anaconda.org:443 "GET /t/py-f3533598-d829-4e04-8073-1fa445ca96f5/frgfm/noarch/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/linux-64/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/linux-64/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://conda.anaconda.org:443 "GET /t/py-f3533598-d829-4e04-8073-1fa445ca96f5/frgfm/linux-64 HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://conda.anaconda.org:443 "GET /t/py-f3533598-d829-4e04-8073-1fa445ca96f5/pytorch/linux-64 HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/channeldata.json HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/channeldata.json HTTP/1.1" 200 None
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                

Leaving build/test directories:
  Work:
 /home/fg/miniconda3/conda-bld/work 
  Test:
 /home/fg/miniconda3/conda-bld/test_tmp 
Leaving build/test environments:
  Test:
source activate  /home/fg/miniconda3/conda-bld/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla 
  Build:
source activate  /home/fg/miniconda3/conda-bld/_build_env 

Traceback (most recent call last):
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/environ.py", line 799, in get_install_actions
    actions = install_actions(prefix, index, specs, force=True)
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda/common/io.py", line 86, in decorated
    return f(*args, **kwds)
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda/plan.py", line 473, in install_actions
    txn = solver.solve_for_transaction(prune=prune, ignore_pinned=not pinned)
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda/core/solve.py", line 152, in solve_for_transaction
    unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda/core/solve.py", line 195, in solve_for_diff
    final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda/core/solve.py", line 319, in solve_final_state
    ssc = self._run_sat(ssc)
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda/common/io.py", line 86, in decorated
    return f(*args, **kwds)
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda/core/solve.py", line 853, in _run_sat
    ssc.solution_precs = ssc.r.solve(tuple(final_environment_specs),
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda/common/io.py", line 86, in decorated
    return f(*args, **kwds)
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda/resolve.py", line 1323, in solve
    self.find_conflicts(specs, specs_to_add, history_specs)
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda/resolve.py", line 352, in find_conflicts
    raise UnsatisfiableError(bad_deps, strict=strict_channel_priority)
conda.exceptions.UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package python conflicts for:
python[version='>=3.6,<4.0']
requests[version='>=2.20.0'] -> certifi[version='>=2017.4.17'] -> python[version='<4.0|>=3.5|>=3.5,<3.6.0a0|>=3.6,<4.0']
pytorch[version='>=1.11.0,<2.0.0'] -> python[version='>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0']
setuptools -> certifi[version='>=2016.9.26'] -> python
torchvision[version='>=0.12.0,<1.0.0'] -> python[version='>=3.10,<3.11.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0']
pytorch[version='>=1.11.0,<2.0.0'] -> typing_extensions -> python[version='>=2.7,<2.8.0a0|>=3.5|>=3.6|>=3.6,<3.7.0a0']
pylocron[version='>=0.2.0,<1.0.0'] -> python[version='>=3.6,<4.0']
torchvision[version='>=0.12.0,<1.0.0'] -> numpy[version='>=1.11'] -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0|>=3.6']
setuptools -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0']
tqdm[version='>=4.1.0'] -> python[version='>=2.7,<2.8.0a0|>=2.7|>=3.10,<3.11.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0']
requests[version='>=2.20.0'] -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.6|>=3.6,<3.7.0a0']
pylocron[version='>=0.2.0,<1.0.0'] -> fastprogress[version='>=1.0.0,<2.0.0'] -> python[version='>=2.7,<2.8.0a0|>=2.7|>=3.10,<3.11.0a0|>=3.6|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0']

Package ca-certificates conflicts for:
python[version='>=3.6,<4.0'] -> openssl[version='>=1.1.1n,<1.1.2a'] -> ca-certificates
requests[version='>=2.20.0'] -> python -> ca-certificates
tqdm[version='>=4.1.0'] -> python[version='>=2.7'] -> ca-certificates
setuptools -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates

Package setuptools conflicts for:
setuptools
pylocron[version='>=0.2.0,<1.0.0'] -> matplotlib[version='>=3.0.0,<4.0.0'] -> setuptools

Package requests conflicts for:
torchvision[version='>=0.12.0,<1.0.0'] -> requests
requests[version='>=2.20.0']
pylocron[version='>=0.2.0,<1.0.0'] -> torchvision[version='>=0.10.1,<1.0.0'] -> requests

Package tqdm conflicts for:
pylocron[version='>=0.2.0,<1.0.0'] -> tqdm[version='>=4.1.0']
tqdm[version='>=4.1.0']

Package pytorch conflicts for:
pylocron[version='>=0.2.0,<1.0.0'] -> pytorch[version='>=1.9.1|>=1.9.1,<2.0.0']
pytorch[version='>=1.11.0,<2.0.0']
torchvision[version='>=0.12.0,<1.0.0'] -> pytorch[version='1.11.0|1.12.0']
pylocron[version='>=0.2.0,<1.0.0'] -> torchvision[version='>=0.10.1,<1.0.0'] -> pytorch[version='1.10.0|1.10.1|1.10.2|1.11.0|1.12.0|1.9.1']

Package idna conflicts for:
requests[version='>=2.20.0'] -> urllib3[version='>=1.21.1,<1.27'] -> idna[version='>=2.0.0']
requests[version='>=2.20.0'] -> idna[version='>=2.5,<2.8|>=2.5,<2.9|>=2.5,<3|>=2.5,<4']

Package certifi conflicts for:
requests[version='>=2.20.0'] -> certifi[version='>=2017.4.17']
requests[version='>=2.20.0'] -> urllib3[version='>=1.21.1,<1.27'] -> certifi
torchvision[version='>=0.12.0,<1.0.0'] -> requests -> certifi[version='>=2017.4.17']
setuptools -> certifi[version='>=2016.09|>=2016.9.26']

Package torchvision conflicts for:
torchvision[version='>=0.12.0,<1.0.0']
pylocron[version='>=0.2.0,<1.0.0'] -> torchvision[version='>=0.10.1|>=0.10.1,<1.0.0']

Package _openmp_mutex conflicts for:
pylocron[version='>=0.2.0,<1.0.0'] -> pytorch[version='>=1.9.1,<2.0.0'] -> _openmp_mutex
python[version='>=3.6,<4.0'] -> libgcc-ng[version='>=7.5.0'] -> _openmp_mutex[version='>=4.5']

Package urllib3 conflicts for:
requests[version='>=2.20.0'] -> urllib3[version='>=1.21.1,<1.24|>=1.21.1,<1.25|>=1.21.1,<1.26,!=1.25.0,!=1.25.1|>=1.21.1,<1.27']
torchvision[version='>=0.12.0,<1.0.0'] -> requests -> urllib3[version='>=1.21.1,<1.23|>=1.21.1,<1.24|>=1.21.1,<1.25|>=1.21.1,<1.26,!=1.25.0,!=1.25.1|>=1.21.1,<1.27']The following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.31=0
  - feature:|@/linux-64::__glibc==2.31=0

Your installed version is: 2.31

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/fg/miniconda3/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/cli/main_build.py", line 488, in main
    execute(sys.argv[1:])
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/cli/main_build.py", line 477, in execute
    outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/build.py", line 3088, in build_tree
    packages_from_this = build(metadata, stats,
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/build.py", line 2051, in build
    output_metas = expand_outputs([(m, need_source_download, need_reparse_in_env)])
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/render.py", line 788, in expand_outputs
    for (output_dict, m) in deepcopy(_m).get_output_metadata_set(permit_unsatisfiable_variants=False):
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/metadata.py", line 2121, in get_output_metadata_set
    conda_packages = finalize_outputs_pass(ref_metadata, conda_packages, pass_no=0,
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/metadata.py", line 782, in finalize_outputs_pass
    fm = finalize_metadata(om, parent_metadata=parent_metadata,
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/render.py", line 546, in finalize_metadata
    build_unsat, host_unsat = add_upstream_pins(m,
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/render.py", line 408, in add_upstream_pins
    host_deps, host_unsat, extra_run_specs_from_host = _read_upstream_pin_files(m, 'host',
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/render.py", line 373, in _read_upstream_pin_files
    deps, actions, unsat = get_env_dependencies(m, env, m.config.variant,
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/render.py", line 138, in get_env_dependencies
    actions = environ.get_install_actions(tmpdir, tuple(dependencies), env,
  File "/home/fg/miniconda3/lib/python3.8/site-packages/conda_build/environ.py", line 801, in get_install_actions
    raise DependencyNeedsBuildingError(exc, subdir=subdir)
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {'certifi', 'python', "certifi[version='>=2017.4.17']", 'feature:|@/linux-64::__glibc==2.31=0', "idna[version='>=2.0.0']", "python[version='<4.0|>=3.5|>=3.5,<3.6.0a0|>=3.6,<4.0']", "pytorch[version='>=1.9.1|>=1.9.1,<2.0.0']", "tqdm[version='>=4.1.0']", "python[version='>=3.10,<3.11.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0']", 'feature:/linux-64::__glibc==2.31=0', "pytorch[version='1.11.0|1.12.0']", "_openmp_mutex[version='>=4.5']", "python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.6|>=3.6,<3.7.0a0']", "certifi[version='>=2016.09|>=2016.9.26']", "python[version='>=3.6,<4.0']", "python[version='>=2.7,<2.8.0a0|>=2.7|>=3.10,<3.11.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0']", 'requests', "python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0']", "python[version='>=2.7,<2.8.0a0|>=3.5|>=3.6|>=3.6,<3.7.0a0']", 'ca-certificates', "torchvision[version='>=0.10.1|>=0.10.1,<1.0.0']", "python[version='>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0']", "pytorch[version='1.10.0|1.10.1|1.10.2|1.11.0|1.12.0|1.9.1']", 'setuptools', '_openmp_mutex', "python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0|>=3.6']", "python[version='>=2.7,<2.8.0a0|>=2.7|>=3.10,<3.11.0a0|>=3.6|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0']", "idna[version='>=2.5,<2.8|>=2.5,<2.9|>=2.5,<3|>=2.5,<4']", "urllib3[version='>=1.21.1,<1.24|>=1.21.1,<1.25|>=1.21.1,<1.26,!=1.25.0,!=1.25.1|>=1.21.1,<1.27']"}

Now I investigated the error message and tried to modify a few things (I've seen online that some people have had problems on python 3.8 builds of conda). But the part that really puzzle me is this: I cannot identify where there is a conflict as described in the message.

For instance:

Package torchvision conflicts for:
torchvision[version='>=0.12.0,<1.0.0']
pylocron[version='>=0.2.0,<1.0.0'] -> torchvision[version='>=0.10.1|>=0.10.1,<1.0.0']

I am the owner & maintainer of pylocron, which I made available on anaconda. So I took that one since I know its ins and outs.

Now, how are those incompatible? Upstream has a looser version specifier than downstream so I really don't get my mistake :thinking: Did I use an incorrect syntax?

Any help would be appreciated :pray: Cheers :v:

Conda Info

active environment : base
    active env location : /home/fg/miniconda3
            shell level : 1
       user config file : /home/fg/.condarc
 populated config files : 
          conda version : 4.13.0
    conda-build version : 3.21.9
         python version : 3.8.13.final.0
       virtual packages : __cuda=11.7=0
                          __linux=5.18.8=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/fg/miniconda3  (writable)
      conda av data dir : /home/fg/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/fg/miniconda3/pkgs
                          /home/fg/.conda/pkgs
       envs directories : /home/fg/miniconda3/envs
                          /home/fg/.conda/envs
               platform : linux-64
             user-agent : conda/4.13.0 requests/2.27.1 CPython/3.8.13 Linux/5.18.8-051808-generic ubuntu/20.04.4 glibc/2.31
                UID:GID : 1000:1000
             netrc file : /home/fg/.netrc
           offline mode : False

Conda Config

No response

Conda list

# packages in environment at /home/fg/miniconda3:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                  2_kmp_llvm    conda-forge
absl-py                   1.1.0                    pypi_0    pypi
aiofiles                  0.6.0                    pypi_0    pypi
aiohttp                   3.8.1                    pypi_0    pypi
aiosignal                 1.2.0                    pypi_0    pypi
alabaster                 0.7.12                   pypi_0    pypi
altair                    4.2.0                    pypi_0    pypi
anaconda-client           1.10.0           py38h06a4308_0    defaults
analytics-python          1.4.0                    pypi_0    pypi
anyio                     3.6.1                    pypi_0    pypi
argon2-cffi               21.3.0                   pypi_0    pypi
argon2-cffi-bindings      21.2.0                   pypi_0    pypi
arrow                     1.2.2                    pypi_0    pypi
asgiref                   3.5.2                    pypi_0    pypi
asttokens                 2.0.5              pyhd3eb1b0_0    defaults
astunparse                1.6.3                    pypi_0    pypi
async-timeout             4.0.2                    pypi_0    pypi
asyncpg                   0.25.0                   pypi_0    pypi
attrs                     21.4.0             pyhd3eb1b0_0    defaults
babel                     2.10.2                   pypi_0    pypi
backcall                  0.2.0              pyhd3eb1b0_0    defaults
backoff                   1.10.0                   pypi_0    pypi
backports                 1.1                pyhd3eb1b0_0    defaults
backports-zoneinfo        0.2.1                    pypi_0    pypi
backports.functools_lru_cache 1.6.4              pyhd3eb1b0_0    defaults
backports.tempfile        1.0                pyhd3eb1b0_1    defaults
backports.weakref         1.0.post1                  py_1    defaults
bcrypt                    3.2.2                    pypi_0    pypi
beautifulsoup4            4.11.1           py38h06a4308_0    defaults
binaryornot               0.4.4                    pypi_0    pypi
black                     22.3.0                   pypi_0    pypi
blas                      1.0                         mkl    defaults
bleach                    5.0.0                    pypi_0    pypi
blinker                   1.4                      pypi_0    pypi
boto3                     1.24.6                   pypi_0    pypi
botocore                  1.27.6                   pypi_0    pypi
brotli                    1.0.9                    pypi_0    pypi
brotlipy                  0.7.0           py38h27cfd23_1003    defaults
bzip2                     1.0.8                h7b6447c_0    defaults
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2022.6.15            ha878542_0    conda-forge
cachelib                  0.8.0                    pypi_0    pypi
cachetools                5.2.0                    pypi_0    pypi
caching                   0.1.dev8                 pypi_0    pypi
cairocffi                 1.3.0                    pypi_0    pypi
cairosvg                  2.5.2                    pypi_0    pypi
certifi                   2022.6.15        py38h578d9bd_0    conda-forge
cffi                      1.15.0           py38hd667e15_1    defaults
chardet                   3.0.4                    pypi_0    pypi
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
click                     8.1.3                    pypi_0    pypi
clyent                    1.2.2                    py38_1    defaults
codecarbon                2.1.3                    pypi_0    pypi
colorama                  0.4.4              pyhd3eb1b0_0    defaults
commonmark                0.9.1                    pypi_0    pypi
conda                     4.13.0           py38h578d9bd_1    conda-forge
conda-build               3.21.9           py38h06a4308_0    defaults
conda-content-trust       0.1.1              pyhd3eb1b0_0    defaults
conda-package-handling    1.8.1            py38h7f8727e_0    defaults
conda-verify              3.4.2                      py_1    defaults
cookiecutter              2.1.1                    pypi_0    pypi
coverage                  6.4.1                    pypi_0    pypi
cryptography              37.0.1           py38h9ce1e76_0    defaults
cssselect2                0.6.0                    pypi_0    pypi
cudatoolkit               11.6.0              hecad31d_10    conda-forge
cycler                    0.11.0                   pypi_0    pypi
dash                      2.4.1                    pypi_0    pypi
dash-bootstrap-components 1.1.0                    pypi_0    pypi
dash-core-components      2.0.0                    pypi_0    pypi
dash-html-components      2.0.0                    pypi_0    pypi
dash-mantine-components   0.10.2                   pypi_0    pypi
dash-table                5.0.0                    pypi_0    pypi
dash-uploader             0.6.0                    pypi_0    pypi
databases                 0.4.0                    pypi_0    pypi
datasets                  2.3.2                    pypi_0    pypi
debugpy                   1.6.0                    pypi_0    pypi
decorator                 5.1.1              pyhd3eb1b0_0    defaults
defusedxml                0.7.1                    pypi_0    pypi
deprecation               2.1.0                    pypi_0    pypi
dill                      0.3.5.1                  pypi_0    pypi
docker-pycreds            0.4.0                    pypi_0    pypi
docutils                  0.18.1                   pypi_0    pypi
ecdsa                     0.17.0                   pypi_0    pypi
entrypoints               0.4                      pypi_0    pypi
executing                 0.8.3              pyhd3eb1b0_0    defaults
fastapi                   0.78.0                   pypi_0    pypi
fastprogress              1.0.2                    pypi_0    pypi
ffmpeg                    4.2.2                h20bf706_0    defaults
ffmpy                     0.3.0                    pypi_0    pypi
filelock                  3.6.0              pyhd3eb1b0_0    defaults
flake8                    4.0.1                    pypi_0    pypi
flask                     2.1.2                    pypi_0    pypi
flask-compress            1.12                     pypi_0    pypi
flatbuffers               1.12                     pypi_0    pypi
flit                      3.7.1                    pypi_0    pypi
flit-core                 3.7.1                    pypi_0    pypi
fonttools                 4.33.3                   pypi_0    pypi
freetype                  2.11.0               h70c0345_0    defaults
frozenlist                1.3.0                    pypi_0    pypi
fsspec                    2022.5.0                 pypi_0    pypi
furo                      2022.6.4.1               pypi_0    pypi
future                    0.18.2                   py38_1    defaults
fuzzywuzzy                0.18.0                   pypi_0    pypi
gast                      0.4.0                    pypi_0    pypi
geobuf                    1.1.1                    pypi_0    pypi
geographiclib             1.52                     pypi_0    pypi
giflib                    5.2.1                h7b6447c_0    defaults
gitdb                     4.0.9                    pypi_0    pypi
gitpython                 3.1.27                   pypi_0    pypi
glob2                     0.7                pyhd3eb1b0_0    defaults
gmp                       6.2.1                h295c915_3    defaults
gnutls                    3.6.15               he1e5248_0    defaults
google-auth               2.8.0                    pypi_0    pypi
google-auth-oauthlib      0.4.6                    pypi_0    pypi
google-pasta              0.2.0                    pypi_0    pypi
gradio                    3.0.20                   pypi_0    pypi
greenlet                  1.1.2                    pypi_0    pypi
grpcio                    1.47.0                   pypi_0    pypi
gunicorn                  20.0.4                   pypi_0    pypi
h11                       0.13.0                   pypi_0    pypi
h5py                      3.7.0                    pypi_0    pypi
holocron                  0.2.1.dev0               pypi_0    pypi
html5lib                  1.1                      pypi_0    pypi
huggingface-hub           0.7.0                    pypi_0    pypi
icu                       58.2                 he6710b0_3    defaults
idna                      2.10                     pypi_0    pypi
imagesize                 1.3.0                    pypi_0    pypi
importlib-metadata        4.11.4                   pypi_0    pypi
importlib_resources       5.2.0              pyhd3eb1b0_1    defaults
iniconfig                 1.1.1                    pypi_0    pypi
intel-openmp              2021.4.0          h06a4308_3561    defaults
ipdb                      0.13.9                   pypi_0    pypi
ipykernel                 6.15.0                   pypi_0    pypi
ipython                   8.3.0            py38h06a4308_0    defaults
ipython-genutils          0.2.0                    pypi_0    pypi
ipywidgets                7.7.1                    pypi_0    pypi
isort                     5.10.1                   pypi_0    pypi
itsdangerous              2.1.2                    pypi_0    pypi
jarowinkler               1.0.4                    pypi_0    pypi
jedi                      0.18.1           py38h06a4308_1    defaults
jeepney                   0.8.0                    pypi_0    pypi
jinja2                    3.0.3                    pypi_0    pypi
jinja2-time               0.2.0                    pypi_0    pypi
jmespath                  1.0.0                    pypi_0    pypi
jpeg                      9e                   h7f8727e_0    defaults
jsonschema                4.4.0            py38h06a4308_0    defaults
jupyter-client            7.3.4                    pypi_0    pypi
jupyter_core              4.10.0           py38h06a4308_0    defaults
jupyterlab-pygments       0.2.2                    pypi_0    pypi
jupyterlab-widgets        1.1.1                    pypi_0    pypi
keras                     2.9.0                    pypi_0    pypi
keras-preprocessing       1.1.2                    pypi_0    pypi
keyring                   23.6.0                   pypi_0    pypi
keyutils                  1.6.1                h166bdaf_0    conda-forge
kiwisolver                1.4.3                    pypi_0    pypi
krb5                      1.19.3               h3790be6_0    conda-forge
lame                      3.100                h7b6447c_0    defaults
lcms2                     2.12                 h3be6417_0    defaults
ld_impl_linux-64          2.38                 h1181459_1    defaults
libarchive                3.5.2                h5de8990_0    defaults
libclang                  14.0.1                   pypi_0    pypi
libcurl                   7.83.1               h7bff187_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.3                  he6710b0_2    defaults
libgcc-ng                 12.1.0              h8d9b700_16    conda-forge
libiconv                  1.16                 h7f8727e_2    defaults
libidn2                   2.3.2                h7f8727e_0    defaults
liblief                   0.11.5               h295c915_1    defaults
libmamba                  0.24.0               hd8a31e3_1    conda-forge
libmambapy                0.24.0           py38h923e62a_1    conda-forge
libnghttp2                1.47.0               h727a467_0    conda-forge
libopus                   1.3.1                h7b6447c_0    defaults
libpng                    1.6.37               hbc83047_0    defaults
libsolv                   0.7.22               h6239696_0    conda-forge
libssh2                   1.10.0               ha56f1ee_2    conda-forge
libstdcxx-ng              12.1.0              ha89aaad_16    conda-forge
libtasn1                  4.16.0               h27cfd23_0    defaults
libtiff                   4.2.0                h2818925_1    defaults
libunistring              0.9.10               h27cfd23_0    defaults
libuv                     1.40.0               h7b6447c_0    defaults
libvpx                    1.7.0                h439df22_0    defaults
libwebp                   1.2.2                h55f646e_0    defaults
libwebp-base              1.2.2                h7f8727e_0    defaults
libxml2                   2.9.14               h74e7548_0    defaults
libzlib                   1.2.12               h166bdaf_1    conda-forge
linkify-it-py             1.0.3                    pypi_0    pypi
llvm-openmp               14.0.4               he0ac6c6_0    conda-forge
lz4-c                     1.9.3                h295c915_1    defaults
mamba                     0.24.0           py38h1abaa86_1    conda-forge
markdown                  3.3.7                    pypi_0    pypi
markdown-it-py            2.1.0                    pypi_0    pypi
markupsafe                2.1.1                    pypi_0    pypi
matplotlib                3.4.2                    pypi_0    pypi
matplotlib-inline         0.1.2              pyhd3eb1b0_2    defaults
mccabe                    0.6.1                    pypi_0    pypi
mdit-py-plugins           0.3.0                    pypi_0    pypi
mdurl                     0.1.1                    pypi_0    pypi
mistune                   0.8.4                    pypi_0    pypi
mkl                       2021.4.0           h06a4308_640    defaults
mkl-service               2.4.0            py38h7f8727e_0    defaults
mkl_fft                   1.3.1            py38hd3c417c_0    defaults
mkl_random                1.2.2            py38h51133e4_0    defaults
monotonic                 1.6                      pypi_0    pypi
mplcursors                0.5.1                    pypi_0    pypi
multidict                 6.0.2                    pypi_0    pypi
multiprocess              0.70.13                  pypi_0    pypi
mypy                      0.961                    pypi_0    pypi
mypy-extensions           0.4.3                    pypi_0    pypi
nbclient                  0.6.4                    pypi_0    pypi
nbconvert                 6.5.0                    pypi_0    pypi
nbformat                  5.3.0            py38h06a4308_0    defaults
ncurses                   6.3                  h7f8727e_2    defaults
nest-asyncio              1.5.5                    pypi_0    pypi
nettle                    3.7.3                hbbd107a_1    defaults
notebook                  6.4.12                   pypi_0    pypi
numpy                     1.22.4                   pypi_0    pypi
oauthlib                  3.2.0                    pypi_0    pypi
onnx                      1.12.0                   pypi_0    pypi
onnxruntime               1.11.1                   pypi_0    pypi
opencv-python             4.6.0.66                 pypi_0    pypi
openh264                  2.1.1                h4ff587b_0    defaults
openssl                   1.1.1q               h7f8727e_0    defaults
opt-einsum                3.3.0                    pypi_0    pypi
orjson                    3.7.3                    pypi_0    pypi
packaging                 21.3                     pypi_0    pypi
pandas                    1.4.2                    pypi_0    pypi
pandocfilters             1.5.0                    pypi_0    pypi
paramiko                  2.11.0                   pypi_0    pypi
parso                     0.8.3              pyhd3eb1b0_0    defaults
passlib                   1.7.4                    pypi_0    pypi
patchelf                  0.13                 h295c915_0    defaults
pathspec                  0.9.0                    pypi_0    pypi
pathtools                 0.1.2                    pypi_0    pypi
pexpect                   4.8.0              pyhd3eb1b0_3    defaults
pickleshare               0.7.5           pyhd3eb1b0_1003    defaults
pillow                    9.1.1                    pypi_0    pypi
pip                       21.2.4           py38h06a4308_0    defaults
pkginfo                   1.8.3                    pypi_0    pypi
platformdirs              2.5.2                    pypi_0    pypi
plotly                    5.8.2                    pypi_0    pypi
pluggy                    1.0.0                    pypi_0    pypi
portalocker               2.3.0            py38h06a4308_0    defaults
prometheus-client         0.14.1                   pypi_0    pypi
promise                   2.3                      pypi_0    pypi
prompt-toolkit            3.0.20             pyhd3eb1b0_0    defaults
protobuf                  3.19.4                   pypi_0    pypi
psutil                    5.8.0            py38h27cfd23_1    defaults
psycopg2                  2.9.3                    pypi_0    pypi
ptyprocess                0.7.0              pyhd3eb1b0_2    defaults
pure_eval                 0.2.2              pyhd3eb1b0_0    defaults
py                        1.11.0                   pypi_0    pypi
py-cpuinfo                8.0.0                    pypi_0    pypi
py-lief                   0.11.5           py38h295c915_1    defaults
pyarrow                   8.0.0                    pypi_0    pypi
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.8                    pypi_0    pypi
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pyclipper                 1.3.0.post3              pypi_0    pypi
pycodestyle               2.8.0                    pypi_0    pypi
pycosat                   0.6.3            py38h7b6447c_1    defaults
pycparser                 2.21               pyhd3eb1b0_0    defaults
pycryptodome              3.15.0                   pypi_0    pypi
pydantic                  1.9.1                    pypi_0    pypi
pydeck                    0.7.1                    pypi_0    pypi
pydocstyle                6.1.1                    pypi_0    pypi
pydub                     0.25.1                   pypi_0    pypi
pyflakes                  2.4.0                    pypi_0    pypi
pygments                  2.11.2             pyhd3eb1b0_0    defaults
pyinstrument              4.2.0                    pypi_0    pypi
pylocron                  0.2.1.dev0                dev_0    <develop>
pympler                   1.0.1                    pypi_0    pypi
pynacl                    1.5.0                    pypi_0    pypi
pynvml                    11.4.1                   pypi_0    pypi
pyopenssl                 22.0.0             pyhd3eb1b0_0    defaults
pyparsing                 3.0.9                    pypi_0    pypi
pypdfium2                 2.3.0                    pypi_0    pypi
pyphen                    0.12.0                   pypi_0    pypi
pyroclient                0.1.2                     dev_0    <develop>
pyrovision                0.2.0                     dev_0    <develop>
pyrsistent                0.18.0           py38heee7806_0    defaults
pysocks                   1.7.1            py38h06a4308_0    defaults
pytest                    7.1.2                    pypi_0    pypi
python                    3.8.13               h12debd9_0    defaults
python-dateutil           2.8.2              pyhd3eb1b0_0    defaults
python-doctr              0.6.0a0                   dev_0    <develop>
python-dotenv             0.20.0                   pypi_0    pypi
python-fastjsonschema     2.15.1             pyhd3eb1b0_0    defaults
python-jose               3.3.0                    pypi_0    pypi
python-libarchive-c       2.9                pyhd3eb1b0_1    defaults
python-magic              0.4.27                   pypi_0    pypi
python-multipart          0.0.5                    pypi_0    pypi
python-slugify            6.1.2                    pypi_0    pypi
python_abi                3.8                      2_cp38    conda-forge
pytorch                   1.12.0          py3.8_cuda11.6_cudnn8.3.2_0    pytorch
pytorch-mutex             1.0                        cuda    pytorch
pytz                      2022.1           py38h06a4308_0    defaults
pytz-deprecation-shim     0.1.0.post0              pypi_0    pypi
pyyaml                    6.0              py38h7f8727e_1    defaults
pyzmq                     23.2.0                   pypi_0    pypi
qarnot                    2.9.6                    pypi_0    pypi
rapidfuzz                 2.0.15                   pypi_0    pypi
readline                  8.1.2                h7f8727e_1    defaults
readme-renderer           35.0                     pypi_0    pypi
recommonmark              0.7.1                    pypi_0    pypi
reproc                    14.2.3               h7f98852_0    conda-forge
reproc-cpp                14.2.3               h9c3ff4c_0    conda-forge
requests                  2.25.0                   pypi_0    pypi
requests-oauthlib         1.3.1                    pypi_0    pypi
requests-toolbelt         0.9.1                    pypi_0    pypi
requirements-parser       0.2.0                    pypi_0    pypi
responses                 0.18.0                   pypi_0    pypi
rfc3986                   2.0.0                    pypi_0    pypi
rich                      12.4.4                   pypi_0    pypi
ripgrep                   12.1.1                        0    defaults
rsa                       4.8                      pypi_0    pypi
ruamel_yaml               0.15.100         py38h27cfd23_0    defaults
s3transfer                0.6.0                    pypi_0    pypi
scipy                     1.8.1                    pypi_0    pypi
secretstorage             3.3.2                    pypi_0    pypi
semver                    2.13.0                   pypi_0    pypi
send2trash                1.8.0                    pypi_0    pypi
sentry-sdk                1.5.12                   pypi_0    pypi
setproctitle              1.2.3                    pypi_0    pypi
setuptools                61.2.0           py38h06a4308_0    defaults
shapely                   1.8.2                    pypi_0    pypi
shellingham               1.4.0                    pypi_0    pypi
shortuuid                 1.0.9                    pypi_0    pypi
six                       1.16.0             pyhd3eb1b0_1    defaults
smmap                     5.0.0                    pypi_0    pypi
sniffio                   1.2.0                    pypi_0    pypi
snowballstemmer           2.2.0                    pypi_0    pypi
soupsieve                 2.3.2.post1              pypi_0    pypi
sphinx                    5.0.1                    pypi_0    pypi
sphinx-basic-ng           0.0.1a11                 pypi_0    pypi
sphinx-copybutton         0.5.0                    pypi_0    pypi
sphinx-markdown-tables    0.0.15                   pypi_0    pypi
sphinxcontrib-applehelp   1.0.2                    pypi_0    pypi
sphinxcontrib-devhelp     1.0.2                    pypi_0    pypi
sphinxcontrib-htmlhelp    2.0.0                    pypi_0    pypi
sphinxcontrib-jsmath      1.0.1                    pypi_0    pypi
sphinxcontrib-qthelp      1.0.3                    pypi_0    pypi
sphinxcontrib-serializinghtml 1.1.5                    pypi_0    pypi
sphinxemoji               0.2.0                    pypi_0    pypi
sqlalchemy                1.4.37                   pypi_0    pypi
sqlite                    3.38.5               hc218d9a_0    defaults
stack_data                0.2.0              pyhd3eb1b0_0    defaults
starlette                 0.19.1                   pypi_0    pypi
streamlit                 1.10.0                   pypi_0    pypi
tenacity                  8.0.1                    pypi_0    pypi
tensorboard               2.9.1                    pypi_0    pypi
tensorboard-data-server   0.6.1                    pypi_0    pypi
tensorboard-plugin-wit    1.8.1                    pypi_0    pypi
termcolor                 1.1.0                    pypi_0    pypi
terminado                 0.15.0                   pypi_0    pypi
text-unidecode            1.3                      pypi_0    pypi
tinycss2                  1.1.1                    pypi_0    pypi
tk                        8.6.12               h1ccaba5_0    defaults
toml                      0.10.2                   pypi_0    pypi
tomli                     2.0.1                    pypi_0    pypi
tomli-w                   1.0.0                    pypi_0    pypi
toolz                     0.11.2                   pypi_0    pypi
torchcam                  0.3.2                     dev_0    <develop>
torchdata                 0.4.0                      py38    pytorch
torchscan                 0.1.2.dev0                dev_0    <develop>
torchvision               0.13.0               py38_cu116    pytorch
tornado                   6.1                      pypi_0    pypi
tqdm                      4.64.0           py38h06a4308_0    defaults
traitlets                 5.3.0              pyhd8ed1ab_0    conda-forge
twine                     4.0.1                    pypi_0    pypi
typeguard                 2.13.3                   pypi_0    pypi
typer                     0.6.1                    pypi_0    pypi
typing_extensions         4.1.1              pyh06a4308_0    defaults
tzdata                    2022.1                   pypi_0    pypi
tzlocal                   4.2                      pypi_0    pypi
ua-parser                 0.10.0                   pypi_0    pypi
uc-micro-py               1.0.1                    pypi_0    pypi
unidecode                 1.3.4                    pypi_0    pypi
urllib3                   1.26.8             pyhd3eb1b0_0    defaults
user-agents               2.2.0                    pypi_0    pypi
uvicorn                   0.17.6                   pypi_0    pypi
validators                0.20.0                   pypi_0    pypi
wandb                     0.12.21                  pypi_0    pypi
watchdog                  2.1.9                    pypi_0    pypi
wcwidth                   0.2.5              pyhd3eb1b0_0    defaults
weasyprint                52.5                     pypi_0    pypi
webencodings              0.5.1                    pypi_0    pypi
werkzeug                  2.1.2                    pypi_0    pypi
wheel                     0.37.1             pyhd3eb1b0_0    defaults
widgetsnbextension        3.6.1                    pypi_0    pypi
wrapt                     1.14.1                   pypi_0    pypi
x264                      1!157.20191217       h7b6447c_0    defaults
xxhash                    3.0.0                    pypi_0    pypi
xz                        5.2.5                h7f8727e_1    defaults
yaml                      0.2.5                h7b6447c_0    defaults
yaml-cpp                  0.7.0                h27087fc_1    conda-forge
yarl                      1.7.2                    pypi_0    pypi
zipp                      3.8.0            py38h06a4308_0    defaults
zlib                      1.2.12               h166bdaf_1    conda-forge
zstd                      1.5.2                ha4553b6_0    defaults

Additional Context

No response

skupr-anaconda commented 2 years ago

As you used the pytorch channel the related issue can be this one https://github.com/ContinuumIO/anaconda-issues/issues/13006

frgfm commented 2 years ago

As you used the pytorch channel the related issue can be this one https://github.com/ContinuumIO/anaconda-issues/issues/13006

@skupr-anaconda I don't think it is :thinking: That issue is asking about the availability of some pytorch channel packages.

But here, conda finds those packages alright and even find the relevant versions ! My problem is that there is absolutely no conflict of any kind according to the console output of conda-build:

Package torchvision conflicts for:
torchvision[version='>=0.12.0,<1.0.0']
pylocron[version='>=0.2.0,<1.0.0'] -> torchvision[version='>=0.10.1|>=0.10.1,<1.0.0']

I'll try to explain my reasoning:

That's the part where I'm puzzled :sweat_smile:

frgfm commented 2 years ago

Any idea @skupr-anaconda ? :pray:

skupr-anaconda commented 2 years ago

@frgfm Could you please run this command for linux-64: conda create -n test_env --dry-run -c pytorch -c frgfm python pip wheel setuptools "pytorch>=1.11.0,<2.0.0" "torchvision>=0.12.0,<1.0.0" "tqdm>=4.1.0" "requests>=2.20.0,<3.0.0" "pylocron>=0.2.0,<1.0.0" -vvv 2>&1 | grep -e "- > 0"

It can identify the missing dependency. But when I ran it there were no outputs. I couldn't catch the missing dependency yet. If you use python 3.8 then modify the command with python=3.8 instead of the plain python.

P.S. I see you've already uploaded pyrovision 0.2.0 to your channel https://anaconda.org/pyronear/pyrovision/files. Do you resolve the issue?

frgfm commented 2 years ago

Thanks I'll run the checks!

P.S. I see you've already uploaded pyrovision 0.2.0 to your channel https://anaconda.org/pyronear/pyrovision/files. Do you resolve the issue?

More or so, I added conda-forge to the channels for build (which wasn't required before) and it worked. But I honestly don't have any idea why :shrug: If that sovled the problem, that means that conda-forge had more versions of some dependencies that solved the conflicts right?

skupr-anaconda commented 2 years ago

I guess some package in the conda-forge channel has correct dependencies and/or pinnings for an exact version of python.

github-actions[bot] commented 1 year ago

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    • What OS and version you reproduced the issue on
    • What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!