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

2.4.3 broken? #80

sebastianneubauer opened this issue Oct 29, 2015 · 1 comment

2.4.3 broken? #80

sebastianneubauer opened this issue Oct 29, 2015 · 1 comment


Copy link

I get an exception when I try to create a new package with putpup new_package since the new version 2.4.3, 2.4.2 works fine:

Traceback (most recent call last):
  File "/bin/putup", line 11, in <module>
  File "local/lib/python2.7/site-packages/pyscaffold/", line 54, in func_wrapper
    func(*args, **kwargs)
  File "local/lib/python2.7/site-packages/pyscaffold/", line 102, in func_wrapper
    func(*args, **kwargs)
  File "local/lib/python2.7/site-packages/pyscaffold/", line 257, in run
  File "local/lib/python2.7/site-packages/pyscaffold/", line 243, in main
  File "local/lib/python2.7/site-packages/pyscaffold/", line 206, in create_project
    proj_struct = structure.make_structure(opts)
  File "local/lib/python2.7/site-packages/pyscaffold/", line 62, in make_structure
    '': templates.skeleton(opts)},
  File "local/lib/python2.7/site-packages/pyscaffold/templates/", line 298, in skeleton
    return template.substitute(opts)
  File "/usr/lib/python2.7/", line 172, in substitute
    return self.pattern.sub(convert, self.template)
  File "/usr/lib/python2.7/", line 162, in convert
    val = mapping[named]
KeyError: u'namespace_pkg'

My environment:

pip list
pbr (1.8.1)
pip (7.1.2)
pyscaffold (2.4.3)
setuptools (18.4)
setuptools-scm (1.8.0)
six (1.10.0)
Copy link

Sorry for that, seems to be a corrupt upload to PyPI, at least that explains why all unittests were green. I uploaded a version 2.4.4 but it seems to take a while until it spreads through all caches. Could you check it in about an hour if it works for you?

FlorianWilhelm added a commit that referenced this issue Apr 25, 2016

f5390e9 limit pypi deploy to python 2.7
3518f4e add pypi deploy on tags
af99acd update changelog
f85de3c Merge pull request #85 from esben/master
ff948dc fix bug when using callable version_scheme
c178ee7 add regression test for callable use_scm_version
4835e4d Merge pull request #82 from untitaker/error-message3
1bd11bc Improve error message, third take
e8ef5cd drop python 3.2 since pip dropped it
c5a25ed Merge pull request #80 from agronholm/master
3dd12d0 Added Python version classifiers to
ab3853e Merge pull request #76 from brianmay/fix_v_prefix
1ef9235 Update comment for previous change
77da109 Ensure we call tag_to_version

git-subtree-dir: pyscaffold/contrib/setuptools_scm
git-subtree-split: f5390e98b426da854838738c86a48b87742e259d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants