question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

KeyError: 'python-3.3.0-pro0.tar.bz2'

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
jcb91commented, Apr 5, 2017

Sure, I’ll give it a try!

0reactions
jakirkhamcommented, Jun 13, 2017

This is fixed by conda-build-all 1.0.4 (released from conda-forge’s fork). Based on initial testing conda 4.3 appears to just work with conda-smithy once the conda check is relaxed. Will do a patch release for conda-smithy once testing is complete.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found