Skip to content

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

@stringfellow

Description

@stringfellow

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions