Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14885
| From | Dmitry Shachnev <mitya57@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python, linux.debian.bugs.dist |
| Subject | Re: python-param: FTBFS: TypeError: The only supported seed types are: None, |
| Date | 2023-02-03 22:40 +0100 |
| Message-ID | <FVbWN-3e2C-13@gated-at.bofh.it> (permalink) |
| References | <FV6Nr-3b7p-1@gated-at.bofh.it> <FV7zS-3bnt-31@gated-at.bofh.it> <FV7Tb-3bJl-1@gated-at.bofh.it> <FV8md-3bSY-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
On Fri, Feb 03, 2023 at 06:45:56PM +0100, FC Stegerman wrote:
> Thanks!
>
> Updating my previous suggestion based on this new information, it
> becomes:
>
> adding this to debian/rules
>
> include /usr/share/dpkg/pkg-info.mk
I think one more line is needed in debian/rules:
export DEB_VERSION_UPSTREAM
> and patching setup.py to change
>
> def get_setup_version(reponame):
> """Use autover to get up to date version."""
> # importing self into setup.py is unorthodox, but param has no
> # required dependencies outside of python
> from param.version import Version
> return Version.setup_version(os.path.dirname(__file__),reponame,archive_commit="$Format:%h$")
>
> to e.g.
>
> def get_setup_version(reponame):
> """Use autover to get up to date version."""
> if version := os.environ.get("DEB_VERSION_UPSTREAM"):
> return version
> # importing self into setup.py is unorthodox, but param has no
> # required dependencies outside of python
> from param.version import Version
> return Version.setup_version(os.path.dirname(__file__),reponame,archive_commit="$Format:%h$")
--
Dmitry Shachnev
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1026514: python-param: FTBFS: TypeError: The only supported seed types are: None, Andreas Tille <andreas@an3as.eu> - 2023-02-03 17:10 +0100
Re: python-param: FTBFS: TypeError: The only supported seed types are: None, FC Stegerman <flx@obfusk.net> - 2023-02-03 18:00 +0100
Re: python-param: FTBFS: TypeError: The only supported seed types are: None, FC Stegerman <flx@obfusk.net> - 2023-02-03 18:20 +0100
Re: python-param: FTBFS: TypeError: The only supported seed types are: None, Louis-Philippe Véronneau <pollo@debian.org> - 2023-02-03 18:20 +0100
Re: python-param: FTBFS: TypeError: The only supported seed types are: None, FC Stegerman <flx@obfusk.net> - 2023-02-03 18:50 +0100
Re: python-param: FTBFS: TypeError: The only supported seed types are: None, Dmitry Shachnev <mitya57@debian.org> - 2023-02-03 22:40 +0100
Re: python-param: FTBFS: TypeError: The only supported seed types are: None, FC Stegerman <flx@obfusk.net> - 2023-02-03 23:20 +0100
csiph-web