KeyError: 'python-3.3.0-pro0.tar.bz2'
See original GitHub issueI tried to rerender the glue-core-feedstock feedstock with conda-smithy 2.2.2 and ran into the following error:
$ conda smithy rerender
No circle token. Create a token at https://circleci.com/account/api and
put it in ~/.conda-smithy/circle.token
No appveyor token. Create a token at https://ci.appveyor.com/api-token and
Put one in ~/.conda-smithy/appveyor.token
No anaconda token. Create a token via
anaconda auth --create --name conda-smithy --scopes "repos conda api"
and put it in ~/.conda-smithy/anaconda.token
Fetching package metadata .............
Traceback (most recent call last):
File "/Users/tom/miniconda3/bin/conda-smithy", line 6, in <module>
sys.exit(conda_smithy.cli.main())
File "/Users/tom/miniconda3/lib/python3.5/site-packages/conda_smithy/cli.py", line 275, in main
args.subcommand_func(args)
File "/Users/tom/miniconda3/lib/python3.5/site-packages/conda_smithy/cli.py", line 186, in __call__
configure_feedstock.main(args.feedstock_directory)
File "/Users/tom/miniconda3/lib/python3.5/site-packages/conda_smithy/configure_feedstock.py", line 709, in main
render_circle(env, config, forge_dir)
File "/Users/tom/miniconda3/lib/python3.5/site-packages/conda_smithy/configure_feedstock.py", line 77, in render_circle
forge_config.get('channels', {}).get('sources', tuple())
File "/Users/tom/miniconda3/lib/python3.5/site-packages/conda_smithy/configure_feedstock.py", line 628, in compute_build_matrix
mtx = special_case_version_matrix(meta, index)
File "/Users/tom/miniconda3/lib/python3.5/site-packages/conda_build_all/version_matrix.py", line 223, in special_case_version_matrix
py_vn = minor_vn(index[python_pkg.fn]['version'])
KeyError: 'python-3.3.0-pro0.tar.bz2'
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (12 by maintainers)
Top Results From Across the Web
KeyError: 'python-1.0.1-0.tar.bz2' from rerender #79 - GitHub
We just looked at this. the newer version of conda uses python_pkg as the key of index. But it quickly gets more complicated...
Read more >Keyerror in python matching executables - Stack Overflow
I'm getting. Traceback (most recent call last): File "C:\Downloaders\nzbToMedia\TorrentToMedia.py", line 323, in <module> state ...
Read more >Python KeyError Exceptions and How to Handle Them
The Python KeyError is a type of LookupError exception and denotes that there was an issue retrieving the key you were looking for....
Read more >How to Fix KeyError Exceptions in Python - Rollbar
The Python KeyError is raised when a mapping key is not found in the set of existing keys of the mapping. In Python,...
Read more >What is the Python keyerror? - Educative.io
The keyerror occurs when the key used for a lookup does not exist in the mapping. Consider a phone book that is represented...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure, I’ll give it a try!
This is fixed by
conda-build-all
1.0.4 (released fromconda-forge
’s fork). Based on initial testingconda
4.3 appears to just work withconda-smithy
once theconda
check is relaxed. Will do a patch release forconda-smithy
once testing is complete.