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

Cannot install latest release version (v0.3.0) with pip - new release? #5

Open
stringfellow opened this issue Apr 9, 2019 · 0 comments

Comments

@stringfellow
Copy link

Installing v0.3.0 which is on pypi (or v0.3.1 from GH) fails with a substitution error:

bash-4.4# pip install https://github.com/ludia/pyramid_metrics/archive/v0.3.1.zip
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting https://github.com/ludia/pyramid_metrics/archive/v0.3.1.zip
  Downloading https://github.com/ludia/pyramid_metrics/archive/v0.3.1.zip
     | 317kB 23.0MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-QkpX0S/setup.py", line 43, in <module>
        'de = devup.app:cli',
      File "/opt/conda/envs/dlweb/lib/python2.7/distutils/core.py", line 124, in setup
        dist.parse_config_files()
      File "/opt/conda/envs/dlweb/lib/python2.7/distutils/dist.py", line 397, in parse_config_files
        val = parser.get(section,opt)
      File "/opt/conda/envs/dlweb/lib/python2.7/ConfigParser.py", line 623, in get
        return self._interpolate(section, option, value, d)
      File "/opt/conda/envs/dlweb/lib/python2.7/ConfigParser.py", line 669, in _interpolate
        option, section, rawval, e.args[0])
    ConfigParser.InterpolationMissingOptionError: Bad value substitution:
        section: [zest.releaser]
        option : tag-format
        key    : version
        rawval : v%%(version)s


    ----------------------------------------

Installing from the latest commit (e9f1325) works fine. Is it possible to make a release with this fix to pypi?

Additionally, I'm using statsd 3.2.2 and it seems to work ok with pyramid_metrics, however the setup.py file for pyramid_metrics forces <2.2 -- is there any reason for this or is it just out of date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant