Package: src:bottleneck
Severity: normal

Dear Maintainer,

Upon trying to build a package depending on bottleneck, the tests fail
with a `ValueError` due to an invalid version number. This snippet
should reproduce the problem:

```
>>> from distutils.version import StrictVersion
>>> import bottleneck
>>> version = StrictVersion(bottleneck.__version__)
ValueError: invalid version number '1.2.0dev'
```

It should be enough to patch bottleneck/version.py to use `1.2.0` instead
of `1.2.0dev`. `1.2.0dev` is not PEP-386 compilant so please consider
advising upstream to use an alternate versioning scheme in the future.

Cheers,
Ghis


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to