I can't manage to get constructor working anymore with a recent version of conda.
- I created a clean centos7 vm on digitalocean, just added bzip2.
- Downloaded Miniconda in various versions.
- Activated them
- conda install constructor
- constructor . # with a trivial construct yaml
They all fail except when I go back to this version of conda: https://repo.anaconda.com/miniconda/Miniconda3-4.3.21-Linux-x86_64.sh
Details
Succesful run with Miniconda3-4.3.21-Linux-x86_64:
Miniconda3-4.3.21-Linux-x86_64
(root) [root@centos-s-1vcpu-1gb-fra1-01 ~]# constructor -V
constructor version: 1.5.5
(root) [root@centos-s-1vcpu-1gb-fra1-01 ~]# cat construct.yaml
name: MinicondaX
version: 1.2.3.4
install_in_dependency_order: True
channels:
- http://repo.anaconda.com/pkgs/main/
specs:
- python
- conda
(root) [root@centos-s-1vcpu-1gb-fra1-01 ~]# constructor --debug .
platform: linux-64
DEBUG:libconda.fetch:channel_urls=('http://repo.anaconda.com/pkgs/main/linux-64/', 'http://repo.anaconda.com/pkgs/main/noarch/')
Fetching package metadata: INFO:stdoutlog:Fetching package metadata:
DEBUG:requests.packages.urllib3.util.retry:Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None)
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): repo.anaconda.com
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (2): repo.anaconda.com
DEBUG:requests.packages.urllib3.connectionpool:http://repo.anaconda.com:80 "GET /pkgs/main/linux-64/repodata.json.bz2 HTTP/1.1" 301 None
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com
DEBUG:requests.packages.urllib3.connectionpool:http://repo.anaconda.com:80 "GET /pkgs/main/noarch/repodata.json.bz2 HTTP/1.1" 301 None
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com
DEBUG:requests.packages.urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/linux-64/repodata.json.bz2 HTTP/1.1" 304 0
DEBUG:requests.packages.urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/repodata.json.bz2 HTTP/1.1" 304 0
.DEBUG:dotupdate:fetching repodata: args ('http://repo.anaconda.com/pkgs/main/noarch/',) kwargs {'use_cache': False, 'session': <libconda.connection.CondaSession object at 0x7ff4ceb1def0>}
.DEBUG:dotupdate:fetching repodata: args ('http://repo.anaconda.com/pkgs/main/linux-64/',) kwargs {'use_cache': False, 'session': <libconda.connection.CondaSession object at 0x7ff4ceb1def0>}
INFO:stdoutlog:
Solving package specifications: INFO:stdoutlog:Solving package specifications:
.DEBUG:dotupdate:Solving for ['python', 'conda']
DEBUG:libconda.resolve:Retrieving packages for: [MatchSpec('python'), MatchSpec('conda')]
DEBUG:libconda.resolve: python: pruned from 66 -> 39
DEBUG:libconda.resolve: libgcc-ng: pruned from 8 -> 7
DEBUG:libconda.resolve: libstdcxx-ng: pruned from 8 -> 7
DEBUG:libconda.resolve: openssl: pruned from 16 -> 13
DEBUG:libconda.resolve: libedit: pruned from 3 -> 2
DEBUG:libconda.resolve: ncurses: pruned from 4 -> 2
DEBUG:libconda.resolve: conda: pruned from 129 -> 127
DEBUG:libconda.resolve: urllib3: pruned from 28 -> 16
DEBUG:libconda.resolve: readline: pruned from 4 -> 3
.DEBUG:dotupdate:Checking satisfiability
DEBUG:libconda.logic:Empty objective, trivial solution
.DEBUG:dotupdate:Package removal metric: 0
DEBUG:libconda.logic:Beginning peak minimization
DEBUG:libconda.logic:Initial range (0,0)
DEBUG:libconda.logic:Bisection attempt: (0,0), (5716+162) clauses
DEBUG:libconda.logic:Bisection success, new range=(0,0)
DEBUG:libconda.logic:Final peak objective: 0
DEBUG:libconda.logic:Beginning peak minimization
DEBUG:libconda.logic:Initial range (0,0)
DEBUG:libconda.logic:Bisection attempt: (0,0), (5878+23) clauses
DEBUG:libconda.logic:Bisection success, new range=(0,0)
DEBUG:libconda.logic:Final peak objective: 0
.DEBUG:dotupdate:Initial package version/build metrics: 0/0
DEBUG:libconda.logic:Empty objective, trivial solution
.DEBUG:dotupdate:Track feature count: 0
DEBUG:libconda.logic:Empty objective, trivial solution
.DEBUG:dotupdate:Package feature count: 0
DEBUG:libconda.logic:Beginning peak minimization
DEBUG:libconda.logic:Initial range (0,1)
DEBUG:libconda.logic:Bisection attempt: (0,0), (5901+379) clauses
DEBUG:libconda.logic:Bisection success, new range=(0,0)
DEBUG:libconda.logic:Final peak objective: 0
DEBUG:libconda.logic:Beginning peak minimization
DEBUG:libconda.logic:Initial range (0,2)
DEBUG:libconda.logic:Bisection attempt: (0,0), (6280+78) clauses
DEBUG:libconda.logic:Bisection success, new range=(0,0)
DEBUG:libconda.logic:Final peak objective: 0
.DEBUG:dotupdate:Additional package version/build metrics: 0/0
DEBUG:libconda.logic:Beginning sum minimization
DEBUG:libconda.logic:Initial range (0,13)
DEBUG:libconda.logic:Bisection attempt: (0,12), (6358+6891) clauses
DEBUG:libconda.logic:Bisection success, new range=(0,12)
DEBUG:libconda.logic:Bisection attempt: (0,6), (6358+3747) clauses
DEBUG:libconda.logic:Bisection failure, new range=(7,12)
DEBUG:libconda.logic:Bisection attempt: (7,9), (6358+5410) clauses
DEBUG:libconda.logic:Bisection failure, new range=(10,12)
DEBUG:libconda.logic:Bisection attempt: (10,11), (6358+6448) clauses
DEBUG:libconda.logic:Bisection failure, new range=(12,12)
DEBUG:libconda.logic:Bisection attempt: (12,12), (6358+6937) clauses
DEBUG:libconda.logic:Bisection success, new range=(12,12)
DEBUG:libconda.logic:Final sum objective: 12
DEBUG:libconda.logic:New peak objective: 1
.DEBUG:dotupdate:Weak dependency count: 12
.DEBUG:dotupdate:Looking for alternate solutions
Warning: 2 possible package resolutions (only showing differing packages):
- yaml-0.1.7-had09818_2.tar.bz2
- yaml-0.1.7-h014fa73_2.tar.bz2INFO:stdoutlog:
Warning: 2 possible package resolutions (only showing differing packages):
- yaml-0.1.7-had09818_2.tar.bz2
- yaml-0.1.7-h014fa73_2.tar.bz2
INFO:stdoutlog:
Reading: /root/s3/lib/python3.6/site-packages/constructor/header.sh
Successfully created '/root/MinicondaX-1.2.3.4-Linux-x86_64.sh'.
(root) [root@centos-s-1vcpu-1gb-fra1-01 ~]#
Newer Versions of conda:
Fail log
(base) [root@centos-s-1vcpu-1gb-fra1-01 ~]# source /root/miniconda3/etc/profile.d/conda.sh
(base) [root@centos-s-1vcpu-1gb-fra1-01 ~]# constructor -V
constructor version: 2.3.0
(base) [root@centos-s-1vcpu-1gb-fra1-01 ~]# constructor --debug .
platform: linux-64
DEBUG:conda.core.solve:solving prefix /constructor/no-environment
specs_to_remove: frozenset()
specs_to_add: frozenset({MatchSpec("python"), MatchSpec("conda")})
prune: <auxlib._Null object at 0x7f218fa03518>
Collecting package metadata (repodata.json): - DEBUG:conda.core.package_cache_data:package cache directory '/root/.conda/constructor/linux-64' writable: True
DEBUG:conda.core.subdir_data:Using cached repodata for http://repo.anaconda.com/pkgs/main/linux-64/repodata.json at /root/.conda/constructor/linux-64/cache/ddd2bc08.json. Timeout in 5 sec
DEBUG:conda.core.subdir_data:found pickle file /root/.conda/constructor/linux-64/cache/ddd2bc08.q
DEBUG:conda.core.subdir_data:Using cached repodata for http://repo.anaconda.com/pkgs/main/noarch/repodata.json at /root/.conda/constructor/linux-64/cache/a53f9773.json. Timeout in 5 sec
DEBUG:conda.core.subdir_data:found pickle file /root/.conda/constructor/linux-64/cache/a53f9773.q
done
Solving environment: / DEBUG:conda.resolve:Retrieving packages for:
- conda
- python
DEBUG:conda.resolve:libgcc-ng: pruned from 8 -> 7
DEBUG:conda.resolve:libstdcxx-ng: pruned from 8 -> 7
\ DEBUG:conda.resolve:conda: pruned from 129 -> 127
/ DEBUG:conda.resolve:urllib3: pruned from 28 -> 16
| DEBUG:conda.core.solve:specs_map with targets: OrderedDict()
DEBUG:conda.resolve:Checking if the current environment is consistent
DEBUG:conda.core.solve:inconsistent precs: None
DEBUG:conda.core.solve:final specs to add:
- conda
- python
DEBUG:conda.resolve:Solving for:
- conda
- python
DEBUG:conda.resolve:Solve: Getting reduced index of compliant packages
DEBUG:conda.resolve:Solve: determining satisfiability
/ DEBUG:conda.resolve:Using SAT solver interface 'pycosat'.
/ DEBUG:conda.resolve:gen_clauses returning with clause count: 13647
DEBUG:conda.resolve:generate_spec_constraints returning with clause count: 13647
DEBUG:conda.common.logic:Invoking SAT with clause count: 13649
- DEBUG:conda.resolve:Solve: minimize removed packages
DEBUG:conda.resolve:Solve: maximize versions of requested packages
DEBUG:conda.common.logic:Empty objective, trivial solution
DEBUG:conda.common.logic:Invoking SAT with clause count: 13838
DEBUG:conda.common.logic:Final peak objective: 0
DEBUG:conda.resolve:Initial package channel/version metric: 0/0
DEBUG:conda.resolve:Solve: minimize track_feature count
DEBUG:conda.resolve:generate_feature_count returning with clause count: 13838
DEBUG:conda.common.logic:Empty objective, trivial solution
DEBUG:conda.resolve:Track feature count: 0
DEBUG:conda.common.logic:Empty objective, trivial solution
DEBUG:conda.resolve:Package misfeature count: 0
DEBUG:conda.resolve:Solve: maximize build numbers of requested packages
DEBUG:conda.common.logic:Invoking SAT with clause count: 13886
DEBUG:conda.common.logic:Final peak objective: 0
DEBUG:conda.resolve:Initial package build metric: 0
DEBUG:conda.resolve:Solve: prefer arch over noarch for requested packages
DEBUG:conda.common.logic:Empty objective, trivial solution
DEBUG:conda.resolve:Noarch metric: 0
DEBUG:conda.resolve:Solve: minimize number of optional installations
DEBUG:conda.common.logic:Empty objective, trivial solution
DEBUG:conda.resolve:Optional package install metric: 0
DEBUG:conda.resolve:Solve: minimize number of necessary upgrades
DEBUG:conda.common.logic:Empty objective, trivial solution
DEBUG:conda.resolve:Dependency update count: 0
DEBUG:conda.resolve:Solve: maximize versions and builds of indirect dependencies. Prefer arch over noarch where equivalent.
\ DEBUG:conda.common.logic:Empty objective, trivial solution
DEBUG:conda.common.logic:Invoking SAT with clause count: 14748
DEBUG:conda.common.logic:Final peak objective: 0
DEBUG:conda.common.logic:Invoking SAT with clause count: 14880
DEBUG:conda.common.logic:Final peak objective: 0
DEBUG:conda.common.logic:Empty objective, trivial solution
DEBUG:conda.resolve:Additional package channel/version/build/noarch metrics: 0/0/0/0
DEBUG:conda.resolve:Solve: prune unnecessary packages
DEBUG:conda.common.logic:Invoking SAT with clause count: 18631
DEBUG:conda.common.logic:Invoking SAT with clause count: 18762
| DEBUG:conda.common.logic:Final sum objective: 39
DEBUG:conda.common.logic:New peak objective: 1
DEBUG:conda.resolve:Weak dependency count: 39
DEBUG:conda.common.logic:Invoking SAT with clause count: 18763
DEBUG:conda.common.logic:Invoking SAT with clause count: 19523
DEBUG:conda.common.logic:Invoking SAT with clause count: 19195
DEBUG:conda.common.logic:Invoking SAT with clause count: 18876
DEBUG:conda.common.logic:Final peak objective: 2
- DEBUG:conda.common.logic:Invoking SAT with clause count: 65105
| DEBUG:conda.common.logic:Invoking SAT with clause count: 44053
/ DEBUG:conda.common.logic:Invoking SAT with clause count: 55479
\ DEBUG:conda.common.logic:Invoking SAT with clause count: 60814
| DEBUG:conda.common.logic:Invoking SAT with clause count: 63387
- DEBUG:conda.common.logic:Invoking SAT with clause count: 62408
| DEBUG:conda.common.logic:Invoking SAT with clause count: 63302
DEBUG:conda.common.logic:Final sum objective: 31
DEBUG:conda.common.logic:New peak objective: 2
DEBUG:conda.resolve:Timestamp metric: 31
DEBUG:conda.resolve:Looking for alternate solutions
DEBUG:conda.common.logic:Invoking SAT with clause count: 63303
done
DEBUG:conda.core.solve:solved prefix /constructor/no-environment
solved_linked_dists:
defaults::ca-certificates-2019.5.15-0
defaults::libgcc-ng-9.1.0-hdf63c60_0
defaults::libstdcxx-ng-9.1.0-hdf63c60_0
defaults::bzip2-1.0.6-h14c3975_5
defaults::libffi-3.2.1-hd88cf55_4
defaults::lz4-c-1.8.1.2-h14c3975_0
defaults::lzo-2.10-h49e0be7_2
defaults::ncurses-6.1-he6710b0_1
defaults::openssl-1.1.1c-h7b6447c_1
defaults::xz-5.2.4-h14c3975_4
defaults::yaml-0.1.7-had09818_2
defaults::zlib-1.2.11-h7b6447c_3
defaults::libedit-3.1.20181209-hc058e9b_0
defaults::libxml2-2.9.9-hea5a465_1
defaults::readline-7.0-h7b6447c_5
defaults::tk-8.6.8-hbc83047_0
defaults::zstd-1.3.7-h0b5b093_0
defaults::libarchive-3.3.3-h5d8350f_5
defaults::sqlite-3.28.0-h7b6447c_0
defaults::python-3.7.3-h0371630_0
defaults::asn1crypto-0.24.0-py37_0
defaults::certifi-2019.6.16-py37_0
defaults::chardet-3.0.4-py37_1
defaults::idna-2.8-py37_0
defaults::pycosat-0.6.3-py37h14c3975_0
defaults::pycparser-2.19-py37_0
defaults::pysocks-1.7.0-py37_0
defaults::python-libarchive-c-2.8-py37_6
defaults::ruamel_yaml-0.15.46-py37h14c3975_0
defaults::six-1.12.0-py37_0
defaults::tqdm-4.32.1-py_0
defaults::cffi-1.12.3-py37h2e261b9_0
defaults::conda-package-handling-1.3.10-py37_0
defaults::setuptools-41.0.1-py37_0
defaults::cryptography-2.7-py37h1ba5d50_0
defaults::wheel-0.33.4-py37_0
defaults::pip-19.1.1-py37_0
defaults::pyopenssl-19.0.0-py37_0
defaults::urllib3-1.24.2-py37_0
defaults::requests-2.22.0-py37_0
defaults::conda-4.7.5-py37_0
DEBUG:conda.core.package_cache_data:package cache directory '/root/.conda/constructor/linux-64' writable: True
Checking for duplicate files ...
Warning: Files 'share/terminfo/2/2621A', 'share/terminfo/2/2621a' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/E/Eterm', 'share/terminfo/e/eterm' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/E/Eterm-color', 'share/terminfo/e/eterm-color' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/l/lft-pc850', 'share/terminfo/L/LFT-PC850' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/n/ncr260vt300wpp', 'share/terminfo/N/NCR260VT300WPP' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/n/ncrvt100wpp', 'share/terminfo/N/NCRVT100WPP' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/P/P12', 'share/terminfo/p/p12' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/P/P12-M', 'share/terminfo/p/p12-m' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/p/p12-m-w', 'share/terminfo/P/P12-M-W' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/P/P12-W', 'share/terminfo/p/p12-w' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/p/p14', 'share/terminfo/P/P14' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/P/P14-M', 'share/terminfo/p/p14-m' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/P/P14-M-W', 'share/terminfo/p/p14-m-w' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/p/p14-w', 'share/terminfo/P/P14-W' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/P/P4', 'share/terminfo/p/p4' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/p/p5', 'share/terminfo/P/P5' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/p/p7', 'share/terminfo/P/P7' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/p/p8', 'share/terminfo/P/P8' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/p/p8-w', 'share/terminfo/P/P8-W' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/P/P9', 'share/terminfo/p/p9' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/P/P9-8', 'share/terminfo/p/p9-8' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/P/P9-8-W', 'share/terminfo/p/p9-8-w' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/P/P9-W', 'share/terminfo/p/p9-w' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/h/hp2621A', 'share/terminfo/h/hp2621a' found in the package(s): ncurses-6.1-he6710b0_1.conda
Warning: Files 'share/terminfo/h/hp70092a', 'share/terminfo/h/hp70092A' found in the package(s): ncurses-6.1-he6710b0_1.conda
DEBUG:urllib3.util.retry:Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): repo.anaconda.com:80
DEBUG:urllib3.connectionpool:http://repo.anaconda.com:80 "GET /pkgs/main/linux-64/repodata.json HTTP/1.1" 301 None
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" 200 None
DEBUG:conda.core.subdir_data:
>>GET /pkgs/main/linux-64/repodata.json HTTPS
> User-Agent: conda/4.7.5 requests/2.22.0 CPython/3.7.3 Linux/3.10.0-957.12.2.el7.x86_64 centos/7.6.1810 glibc/2.17
> Accept: */*
> Accept-Encoding: gzip, deflate, compress, identity
> Connection: keep-alive
<<HTTPS 200 OK
< Age: 357959
< Cache-Control: public, max-age=30
< CF-Cache-Status: HIT
< CF-RAY: 4ef77a725da2275a-FRA
< Content-Encoding: gzip
< Content-Type: application/json
< Date: Mon, 01 Jul 2019 09:50:53 GMT
< ETag: W/"a725c0e868a4be03c9efb546db94fed3-2"
< Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< Expires: Mon, 01 Jul 2019 09:51:23 GMT
< Last-Modified: Thu, 27 Jun 2019 06:21:20 GMT
< Server: cloudflare
< Set-Cookie: __cfduid=d2ef248e9f1e2a67b7c87984492c1ace51561974653; expires=Tue, 30-Jun-20 09:50:53 GMT; path=/; domain=.anaconda.com; HttpOnly; Secure
< Transfer-Encoding: chunked
< Vary: Accept-Encoding
< x-amz-id-2: 1uQWKDf+1wPr9oMdlbAeuwRID9tOFxoxJaDPKPvc7zOjPygt1RkpWzideGWZ47n8bxAx+XilNys=
< x-amz-request-id: 31C41F5EBE128DDC
< x-amz-version-id: RpZGC87a0p.da4OaxYCtdSoxcia.6FQ2
< Connection: keep-alive
< Elapsed: 00:00.064492
{ 'info': {'subdir': 'linux-64'},
'packages': { '_ipyw_jlab_nb_ext_conf-0.1.0-py27_0.tar.bz2': { 'build': 'py27_0',
'build_number': 0,
DEBUG:urllib3.connectionpool:http://repo.anaconda.com:80 "GET /pkgs/main/noarch/repodata.json HTTP/1.1" 301 None
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/repodata.json HTTP/1.1" 200 None
DEBUG:conda.core.subdir_data:
>>GET /pkgs/main/noarch/repodata.json HTTPS
> User-Agent: conda/4.7.5 requests/2.22.0 CPython/3.7.3 Linux/3.10.0-957.12.2.el7.x86_64 centos/7.6.1810 glibc/2.17
> Accept: */*
> Accept-Encoding: gzip, deflate, compress, identity
> Connection: keep-alive
> Cookie: __cfduid=d2ef248e9f1e2a67b7c87984492c1ace51561974653
<<HTTPS 200 OK
< Age: 357984
< Cache-Control: public, max-age=30
< CF-Cache-Status: HIT
< CF-RAY: 4ef77ad38c0a275a-FRA
< Content-Encoding: gzip
< Content-Type: application/json
< Date: Mon, 01 Jul 2019 09:51:09 GMT
< ETag: W/"d200c5f4aa3959cb789ef5812fe3aeb0"
< Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< Expires: Mon, 01 Jul 2019 09:51:39 GMT
< Last-Modified: Thu, 27 Jun 2019 06:21:42 GMT
< Server: cloudflare
< Transfer-Encoding: chunked
< Vary: Accept-Encoding
< x-amz-id-2: va4pjXk3Xr7syus2ZImAFXVt73QSoH4V0a5GN8723a3tUbUBraMyB9AqqQxw2XbbQjkT2Kez6gc=
< x-amz-request-id: C159EA0B3CBC5D51
< x-amz-version-id: tj0liLiqy_p2p5uurUrbuejYf.3IWfoe
< Connection: keep-alive
< Elapsed: 00:00.020968
{ 'info': {'subdir': 'noarch'},
'packages': { 'affine-2.1.0-pyh128a3a6_1.tar.bz2': { 'build': 'pyh128a3a6_1',
'build_number': 1,
'depends': ['py
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.7/site-packages/conda/models/dist.py", line 207, in parse_dist_name
version = parts[1]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/miniconda3/bin/constructor", line 11, in <module>
sys.exit(main())
File "/root/miniconda3/lib/python3.7/site-packages/constructor/main.py", line 221, in main
dry_run=opts.dry_run)
File "/root/miniconda3/lib/python3.7/site-packages/constructor/main.py", line 128, in main_build
create(info, verbose=verbose)
File "/root/miniconda3/lib/python3.7/site-packages/constructor/shar.py", line 81, in create
preconda_write_files(info, tmp_dir)
File "/root/miniconda3/lib/python3.7/site-packages/constructor/preconda.py", line 137, in write_files
write_conda_meta(info, dst_dir, final_urls_md5s)
File "/root/miniconda3/lib/python3.7/site-packages/constructor/preconda.py", line 155, in write_conda_meta
dists = tuple(Dist(url) for url, _ in final_urls_md5s)
File "/root/miniconda3/lib/python3.7/site-packages/constructor/preconda.py", line 155, in <genexpr>
dists = tuple(Dist(url) for url, _ in final_urls_md5s)
File "/root/miniconda3/lib/python3.7/site-packages/conda/models/dist.py", line 48, in __call__
dist = Dist.from_string(value)
File "/root/miniconda3/lib/python3.7/site-packages/conda/models/dist.py", line 182, in from_string
dist_details = cls.parse_dist_name(original_dist)
File "/root/miniconda3/lib/python3.7/site-packages/conda/models/dist.py", line 217, in parse_dist_name
raise CondaError("dist_name is not a valid conda package: %s" % original_string)
conda.CondaError: dist_name is not a valid conda package: None
(base) [root@centos-s-1vcpu-1gb-fra1-01 ~]#
-
I tried this on different OSes and different versions of conda. sometimes it works the first time but then fails all subsequent runs.
-
I get the error even when I run the exact steps of your travis file.
-
When I run in --debug mode I have the feeling that the DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/linux-64/repodata.json HTTP/1.1" 200 None
step takes far longer, maybe it goes into timeout ?
-
I could invest some time and found that the error is cause from Nones in this structure, in def write_conda_meta
:
-
I forked constructor and triggered a travis run. Same error on all combinations:
travis console shot with the (same) error:
locked