Re: Next python-mote pre-condition test issue: python-jsondiff trows ModuleNotFoundError: No module named 'nose_random'
Hi Tristan, On Wed, Jan 17, 2018 at 06:56:00AM +, Tristan Seligmann wrote: > I found this package, which seems to match, from the same organization: > https://github.com/ZoomerAnalytics/nose-random > > Unfortunately it seems to be unreleased, so I think you would need to > package a GitHub snapshot or something (or alternatively disable the tests). Thanks for the hint. I think for the moment I'll skip the test but I have opened an issue asking for release tags[1]. Kind regards Andreas. [1] https://github.com/ZoomerAnalytics/nose-random/issues/1 -- http://fam-tille.de
Parallelizing a submake of debian/rules
Hello, (Please keep me CCed, I'm not subscribed to debian-python.) I'm working on packaging the libraries Kwant [1] and Tinyarray [2] (a dependency for Kwant) for Debian. The Debian packaging was done in git repositories [3] [4] and seems finished. I'm not satisfied with one aspect of it, however: build parallelization does not work, i.e. running gbp buildpackage -j4 does not result in a parallel build. There are several parts of the build process of Kwant that could be parallelized. The only one that I'd like to consider here is the one that is consuming the most time: the generation of figures for the HTML documentation from patched example scripts. Having cloned [1], one can build the documentation in parallel like this: ./setup.py build cd doc make -j4 html In the Debian packaging [3] this is done in debian/rules like this: # Make documentation only if needed. ifneq "$(shell dh_listpackages | grep -- -doc)" "" PY3VER = $(shell python3 --version | cut -d' ' -f2 | cut -d. -f1,2) override_dh_installdocs: PYTHONPATH=$(CURDIR)/debian/python3-kwant/usr/lib/python$(PY3VER)/dist-packages \ LC_ALL=C.UTF-8 $(MAKE) -C doc html dh_installdocs endif But the submake launchd by "$(MAKE)" is not a parallel one. I have enabled parallel builds by giving the --parallel option to "dh", and I launch gbp buildpackage with "-j4". Moreover, DEB_BUILD_OPTIONS is set to "parallel=4", but all to no avail. The only way to make it work is to add an explicit "-j" to the make invocation in debian/rules, but that's certainly not the way it should be done. I'm grateful for any hints on how to fix the situation. Thanks, Christoph [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886418 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886628 [3] https://gitlab.kwant-project.org/kwant/debian-kwant [4] https://gitlab.kwant-project.org/kwant/debian-tinyarray signature.asc Description: PGP signature
FYI: Fwd: RFS: pygithub/1.35-1[ITA]
FYI -- Forwarded message - From: eamanu15 . Date: mié., 17 de ene. de 2018 a la(s) 18:37 Subject: RFS: pygithub/1.35-1[ITA] To: Debian Mentors List Package: sponsorship-requests Severity: normal Dear mentors, I am looking for a sponsor for my package "pygithub" * Package name: pygithub Version : 1.35-1 Upstream Author : Adam Dangoor Vincent Jacques Jeremy Phelps * URL : https://pypi.python.org/pypi/PyGithub * License : LGPL-3+ Section : python It builds those binary packages: python-github - Access to full Github API v3 from Python2 python3-github - Access the full Github API v3 from Python3 To access further information about this package, please visit the following URL: https://mentors.debian.net/package/pygithub Alternatively, one can download the package with dget using this command: dget -x https://mentors.debian.net/debian/pool/main/p/pygithub/pygithub_1.35-1.dsc Changes since the last upload: * New upstream release * Update Maintainer field from debian/control to intent to adopt the package (Closes: #851187) * Update Standards-Version from 3.9.6 to 4.1.3 from debian control according to the up-to-date standards * Add new maintainer on copyright debian/* files field from debian/copyright to stay up-to-date * Remove override_dh_installchangelogs target from debian/rules due to the new version (1.35) do not have README.rst file Regards, Emmanuel -- Arias Emmanuel https://www.linkedin.com/in/emmanuel-arias-437a6a8a http://eamanu.com -- Arias Emmanuel https://www.linkedin.com/in/emmanuel-arias-437a6a8a http://eamanu.com
Re: FYI: Fwd: RFS: pygithub/1.35-1[ITA]
Hello Emmanuel, few notes to your package: - it would be good to move under DPMT (have you joined the team already?), create git repository and use git-dpm to import current version and make your changes, also set Maintainer and Vcs-* to reflect this - You should update bug #851187 and change topic s,RFA,ITA + assign to yourself - d/compat + d/control: update debhelper to latest 11 - d/copyright: - add yourself into copyright holders for debian/* - use https in Format url - d/control: - X-Python-Version and X-Python3-Version are not needed - Add support for autopkgtest (Testsuite: autopkgtest-pkg-python) - Run `wrap-and-sort -bast` if you haven't already Filip On 2018/01/17 21:37, eamanu15 . wrote: > FYI > > -- Forwarded message - > From: eamanu15 . > Date: mié., 17 de ene. de 2018 a la(s) 18:37 > Subject: RFS: pygithub/1.35-1[ITA] > To: Debian Mentors List > > > Package: sponsorship-requests > Severity: normal > > Dear mentors, > > I am looking for a sponsor for my package "pygithub" > > * Package name: pygithub > Version : 1.35-1 > Upstream Author : Adam Dangoor > Vincent Jacques > Jeremy Phelps > * URL : https://pypi.python.org/pypi/PyGithub > * License : LGPL-3+ > Section : python > > It builds those binary packages: > python-github - Access to full Github API v3 from Python2 > python3-github - Access the full Github API v3 from Python3 > > To access further information about this package, please visit the > following URL: > https://mentors.debian.net/package/pygithub > > Alternatively, one can download the package with dget using this command: > dget -x > https://mentors.debian.net/debian/pool/main/p/pygithub/pygithub_1.35-1.dsc > > Changes since the last upload: >* New upstream release >* Update Maintainer field from debian/control to intent to adopt > the package (Closes: #851187) >* Update Standards-Version from 3.9.6 to 4.1.3 from debian control > according to the up-to-date standards >* Add new maintainer on copyright debian/* files field from > debian/copyright to stay up-to-date >* Remove override_dh_installchangelogs target from debian/rules due to > the new version (1.35) do not have README.rst file > > Regards, > Emmanuel > > > -- > Arias Emmanuel > https://www.linkedin.com/in/emmanuel-arias-437a6a8a > http://eamanu.com > > > -- > Arias Emmanuel > https://www.linkedin.com/in/emmanuel-arias-437a6a8a > http://eamanu.com signature.asc Description: PGP signature