Re: Reviving #debian-python-changes channel
On 4/7/20 8:30 PM, Dmitry Shachnev wrote: > Hi! > > salsabot is dead for two months now, however we can replace it with KGB > which is alive. > > I am attaching a script that Lisandro Damián Nicanor Pérez Meyer kindly > shared with me, he used it to revive the #debian-qt-notifications channel. > > I have already replaced qt-kde-team/qt with python-team/modules. > > Can some admin please run it? (You need to get an API token and put a > SALSA_TOKEN=... line to ~/.devscripts first.) > > python-team/applications is not affected because it seems to already use KGB. > > -- > Dmitry Shachnev Hi Dmitry, Thanks a lot for sharing, I've used this script to reconfigure all of the OpenStack team's repos so that it logs with KGB in #debian-openstack-commits. You made me save a lot of time! :) Cheers, Thomas Goirand (zigo)
Re: packaging manual for a beginner
On 4/7/20 8:13 PM, Alex Mestiashvili wrote: > Hi Debian Python folks, > > Is there a good entry point for a newbie who wants to package a python > module? I am looking for a tool similar to dh-make-perl. In the past > I've been using stdeb as far as I remember, but it is somehow painful > compared to other dh-make-x helpers. > A link with step-by-step instructions would be also helpful. Sorry but I > am unable to find Debian documentation suitable for a newcomer. > > Thank you, > Alex > Hi Alex, I'd advise you to check the content of the packaging-tutorial package. It contains nice PDFs under /usr/share/doc/packaging-tutorial/ (translated in multiple languages). This is a very good start, IMO. When you're done with that one, you may start reading the Debian Policy Manual, which is probably a lot harder to read. I hope this helps, Cheers, Thomas Goirand (zigo)
Re: packaging manual for a beginner
On Tue, Apr 07, 2020 at 08:13:02PM +0200, Alex Mestiashvili wrote: > Hi Debian Python folks, > > Is there a good entry point for a newbie who wants to package a python > module? I am looking for a tool similar to dh-make-perl. In the past > I've been using stdeb as far as I remember, but it is somehow painful > compared to other dh-make-x helpers. > A link with step-by-step instructions would be also helpful. Sorry but I > am unable to find Debian documentation suitable for a newcomer. There is https://wiki.debian.org/Python/LibraryStyleGuide but it doesn't cover the very first steps. -- WBR, wRAR signature.asc Description: PGP signature
Re: packaging manual for a beginner
On 4/8/20 10:23 AM, Thomas Goirand wrote: > On 4/7/20 8:13 PM, Alex Mestiashvili wrote: >> Hi Debian Python folks, >> >> Is there a good entry point for a newbie who wants to package a python >> module? I am looking for a tool similar to dh-make-perl. In the past >> I've been using stdeb as far as I remember, but it is somehow painful >> compared to other dh-make-x helpers. >> A link with step-by-step instructions would be also helpful. Sorry but I >> am unable to find Debian documentation suitable for a newcomer. >> >> Thank you, >> Alex >> > > Hi Alex, > > I'd advise you to check the content of the packaging-tutorial package. > It contains nice PDFs under /usr/share/doc/packaging-tutorial/ > (translated in multiple languages). This is a very good start, IMO. > > When you're done with that one, you may start reading the Debian Policy > Manual, which is probably a lot harder to read. > > I hope this helps, > Cheers, > > Thomas Goirand (zigo) > Hi Thomas, thanks, I can find my way to package python applications, but what I am actually looking for is an up-to-date guide or tools which would simplify packaging. Most of the useful resources about python packaging for Debian are either 10 years old or are blogposts living outside Debian wiki.. I can imagine that for a newcomer it is kind of complicated to start packaging python software. There must be some easy py2deb stuff giving you almost ready debian package,(that's what stdeb is doing to some extent), but again the documentation is sparse and output of stdeb is sometimes scary :) I know, if you need it, just implement it, but may be I am missing some already available tools. Regards, Alex
Re: packaging manual for a beginner
On 4/8/20 10:36 AM, Andrey Rahmatullin wrote: > On Tue, Apr 07, 2020 at 08:13:02PM +0200, Alex Mestiashvili wrote: >> Hi Debian Python folks, >> >> Is there a good entry point for a newbie who wants to package a python >> module? I am looking for a tool similar to dh-make-perl. In the past >> I've been using stdeb as far as I remember, but it is somehow painful >> compared to other dh-make-x helpers. >> A link with step-by-step instructions would be also helpful. Sorry but I >> am unable to find Debian documentation suitable for a newcomer. > There is https://wiki.debian.org/Python/LibraryStyleGuide but it doesn't > cover the very first steps. > Thanks, this is one of the most useful links about the topic.
Request to join PAPT
I'd like to join Python Applications Packaging Team, I've read and accept the PAPT policy: https://salsa.debian.org/python-team/tools/python-apps/blob/master/policy.rst My salsa login is: mestia Thank you, Alex
Re: checking upstream package
OK, thanks. On 4/7/20, Alexander Gerasiov wrote: > On Tue, 7 Apr 2020 17:48:29 +0900 > Yosuke Otsuki wrote: > >> Hi >> >> I am wondering if someone could direct me. >> I want to check if a pip package is ported to debian. >> Is there already tools to match pip and debian's python package ? >> >> checked following, but could not found such tool. >> https://debian-python.readthedocs.io/en/latest/README.html >> https://wiki.debian.org/Python/LibraryStyleGuide >> >> If there is not I will compare upstream URL in `pip show` and >> `apt-cache show` > https://wiki.debian.org/debian/watch > search for PyPi > > > > -- > Best regards, > Alexander Gerasiov > > Contacts: > e-mail: a...@gerasiov.net WWW: http://gerasiov.net TG/Skype: gerasiov > PGP fingerprint: 04B5 9D90 DF7C C2AB CD49 BAEA CA87 E9E8 2AAC 33F1 > >
[Help] Re: Bug#953052: psychopy: python2 dependencies
Control: tags -1 help Hi DPMT, I need to admit I'm currentl overwhelmed with COVID-19 hackathon. A quick view does not really show any suspicious things to me. Any help (including team upload / NMU) would be appreciated. Kind regards Andreas. On Tue, Mar 03, 2020 at 09:34:24PM +0100, Bob wrote: > Package: psychopy > Version: 2020.1.1+dfsg-1 > Severity: important > > Dear Maintainer, > > Psychopy seems to have python2 dependencies. > > I do not have any python2 packages installed anymore. > When installing psychopy 2020.1.1 with apt-get from the official debian repo, > it pulls in a selection of python2 packages: > > ipython libpython-stdlib libpython2-stdlib libpython2.7-minimal > libpython2.7-stdlib python > python-backports-shutil-get-terminal-size python-chardet python-decorator > python-enum34 python-ipython > python-ipython-genutils python-minimal python-pathlib2 python-pexpect > python- > pickleshare python-pkg-resources > python-prompt-toolkit python-ptyprocess python-pygments python-scandir > python-simplegeneric python-six python-traitlets > python-wcwidth python2 python2-minimal python2.7 python2.7-minimal > > When manually installing the deb with gdebi it does not install these python2 > packages. > > Seems to be some kind of packaging error. > > Best, > Bob > > > > -- System Information: > Debian Release: bullseye/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 5.5.0-7.1-liquorix-amd64 (SMP w/8 CPU cores; PREEMPT) > Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, > TAINT_OOT_MODULE > Locale: LANG=en_NL.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), > LANGUAGE=en_US (charmap=UTF-8) > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages psychopy depends on: > ii python33.7.5-3 > ii python3-configobj 5.0.6-3 > ii python3-freetype 2.1.0.post1-2 > ii python3-future 0.18.2-1 > ii python3-gevent 1.4.0-1+b1 > ii python3-git3.0.7-1 > ii python3-gitlab 1:2.0.1-1 > ii python3-json-tricks3.11.0-2 > ii python3-lxml 4.5.0-1 > ii python3-matplotlib 3.1.2-2 > ii python3-msgpack0.5.6-3 > ii python3-msgpack-numpy 0.4.4-1 > ii python3-numpy 1:1.17.4-5 > ii python3-opengl 3.1.0+dfsg-2 > ii python3-openpyxl 3.0.3-1 > ii python3-pandas 0.25.3+dfsg-7 > ii python3-pil6.2.1-2+b1 > ii python3-psutil 5.6.7-1 > ii python3-pygame 1.9.6+dfsg-2 > ii python3-pyglet 1.4.10-1 > ii python3-requests 2.22.0-2 > ii python3-scipy 1.3.3-3 > ii python3-serial 3.4-5.1 > ii python3-soundfile 0.10.3+post1-1 > ii python3-tables 3.6.1-2 > ii python3-xlrd 1.1.0-5 > ii python3-yaml 5.3-1 > ii python3-zmq17.1.2-4 > > Versions of packages psychopy recommends: > pn ipython > ii libxxf86vm1 1:1.1.4-1+b2 > ii python3-cryptography 2.8-3 > ii python3-distro1.4.0-1 > ii python3-opencv4.2.0+dfsg-5 > ii python3-pygame1.9.6+dfsg-2 > ii python3-pyglet1.4.10-1 > ii python3-pyo 1.0.0-2.1 > ii python3-questplus 2019.4-2 > ii python3-wxgtk4.0 4.0.7+dfsg-2 > ii python3-xlib 0.23-2 > > Versions of packages psychopy suggests: > pn libavbin0 > pn python3-iolabs > pn python3-pyxid > > ___ > Debian-med-packaging mailing list > debian-med-packag...@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging -- http://fam-tille.de
Re: packaging manual for a beginner
On 4/8/20 11:25 AM, Alex Mestiashvili wrote: > I can imagine that for a newcomer it is kind of > complicated to start packaging python software. There must be some easy > py2deb stuff giving you almost ready debian package,(that's what stdeb > is doing to some extent), but again the documentation is sparse and > output of stdeb is sometimes scary :) I know, if you need it, just > implement it, but may be I am missing some already available tools. I wrote my own "pkgos-debpypi", though it's mainly aimed at OpenStack packages (actually, not using pybuild as a result, which is kind of controversial in itself). Piotr implemented something as well for creating package to use pybuild, but I can't remember the name. Cheers, Thomas Goirand (zigo)
Re: [Help] Re: Bug#953052: psychopy: python2 dependencies
On Wed, Apr 8, 2020 at 12:09 PM Andreas Tille wrote: > > Control: tags -1 help > > Hi DPMT, > > I need to admit I'm currentl overwhelmed with COVID-19 hackathon. > A quick view does not really show any suspicious things to me. > Any help (including team upload / NMU) would be appreciated. didnt take much to figure it out.. $ aptitude why psychopy python2.7 p psychopyRecommends python3-pyo p python3-pyo Recommends jackd2 p jackd2 Dependspython-dbus p python-dbus Dependspython2 (>= 2.7~) p python2 Dependspython2.7 (>= 2.7.17~rc1-1~) -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi
Fwd: [covid] New Contributor for biohackathon
Dear DPMT members, You may be aware that the Debian Med team is in the middle of a biohackathon [1] to provide better FOSS tools to the medical community for their work on the COVID-19 pandemic. We just had a new contributor package a Python module that we need for one of our packages. Since time is of the essence in these efforts, would you be willing/able to accept this package under your team and do a quick review? If you are unable to do a quick review, would you agree to have one of the DDs on the Debian Med team review the package and upload it with you as the maintainer? Thanks in advance for anything that you can do to support our efforts! -Olek PS I am subscribed to Debian Med but not to Debian Python [1] https://salsa.debian.org/med-team/community/2020-covid19-hackathon/-/wikis/Covid-19-hackathon -- Forwarded message - From: fancycade Date: Wed, Apr 8, 2020 at 10:42 PM Subject: [covid] New Contributor for biohackathon To: debian-...@lists.debian.org Hi there! I would like to help out with the efforts of the biohackathon. Sadly I see I missed the jitsi meetings. I was busy making my first debian package. I have a pretty good understanding of the debian policy, but I'm sure there is room for improvement. I was following the need for packaging the CHIME project which requires the streamlit package. After taking a look at the dependencies for streamlit I saw there were only a few missing packages. One of them being validators. Since this was a simple python module, I figured it would be a good first package to try my hand. upstream: https://github.com/kvesteri/validators I have submitted an ITP to the bug tracker https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956082 And have a building package on salsa: https://salsa.debian.org/fancycade-guest/validators At this point I think I need a review and someone to sponsor it. I have also submitted a request to join the Debian Python Modules team, but have not gotten a reply yet. Thanks! - Harley Swick
Re: Request to join Python Modules Team
On Saturday, April 4, 2020 5:53:30 PM EDT fancycade wrote: > Hi there! > > I would like to join the Python Modules Team. For the time being I am > interested in maintaining packages related to the upcoming covid > biohackathon. Specifically I am trying to get my feet wet by packaging this > module https://github.com/kvesteri/validators which is needed by the > streamlit package. > > I am familiar with Debian packaging, and already have a package that builds. > > My salsa login is: @fancycade-guest > > I have read the Python Modules policy. > > Thanks! Welcome to the team. Scott K signature.asc Description: This is a digitally signed message part.
Re: Fwd: [covid] New Contributor for biohackathon
On Wednesday, April 8, 2020 11:56:22 PM EDT Olek Wojnar wrote: > Dear DPMT members, > > You may be aware that the Debian Med team is in the middle of a > biohackathon [1] to provide better FOSS tools to the medical community for > their work on the COVID-19 pandemic. We just had a new contributor package > a Python module that we need for one of our packages. Since time is of the > essence in these efforts, would you be willing/able to accept this package > under your team and do a quick review? If you are unable to do a quick > review, would you agree to have one of the DDs on the Debian Med team > review the package and upload it with you as the maintainer? Thanks in > advance for anything that you can do to support our efforts! > > -Olek > > PS I am subscribed to Debian Med but not to Debian Python > > [1] > https://salsa.debian.org/med-team/community/2020-covid19-hackathon/-/wikis/C > ovid-19-hackathon I took care of the request, so they are in the team now and can push the package to the team repo. Once that's done they can request sponsorship via our usual process (either RFS mail to debian-python@l.d.o or put the name of the package in /topic on #debian-python). The team is usually pretty responsive about sponsoring. I will try to stay away from sponsoring it since if I do that, I won't be able to process it through New. Scott K > -- Forwarded message - > From: fancycade > Date: Wed, Apr 8, 2020 at 10:42 PM > Subject: [covid] New Contributor for biohackathon > To: debian-...@lists.debian.org > > > Hi there! > > I would like to help out with the efforts of the biohackathon. Sadly I see > I missed the jitsi meetings. I was busy making my first debian package. I > have a pretty good understanding of the debian policy, but I'm sure there > is room for improvement. > > I was following the need for packaging the CHIME project which requires the > streamlit package. After taking a look at the dependencies for streamlit I > saw there were only a few missing packages. One of them being validators. > Since this was a simple python module, I figured it would be a good first > package to try my hand. > > upstream: https://github.com/kvesteri/validators > > I have submitted an ITP to the bug tracker > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956082 > > And have a building package on salsa: > https://salsa.debian.org/fancycade-guest/validators > > At this point I think I need a review and someone to sponsor it. I have > also submitted a request to join the Debian Python Modules team, but have > not gotten a reply yet. > > > Thanks! > > - Harley Swick signature.asc Description: This is a digitally signed message part.
Re: Fwd: [covid] New Contributor for biohackathon
Hi Scott, On Thu, Apr 9, 2020 at 12:43 AM Scott Kitterman wrote: > > I took care of the request, so they are in the team now and can push the > package to the team repo. Once that's done they can request sponsorship > via > our usual process (either RFS mail to debian-python@l.d.o or put the name > of > the package in /topic on #debian-python). The team is usually pretty > responsive about sponsoring. > Great, thanks! (Harley, please let us know if you have any questions about how to do that) I will try to stay away from sponsoring it since if I do that, I won't be > able > to process it through New. > And we definitely want and appreciate you doing that! :) -Olek
Thanks to Olek and Scott and for sure all other contributors (Was: Fwd: [covid] New Contributor for biohackathon)
Hi, currently I'm experiencing a situation which I described in several of my talks[1]: For me a team means: Waking up in the morning and realising that somebody else has solved your problem from yesterday. Thanks a lot to all who contributed and let me enjoy my sleep at night Andreas. PS: I took the freedom to add more items for Olek, Scott and also for my wife who is tolerant all the time to let me work for the sprint even on weekends and holidays. https://salsa.debian.org/med-team/community/2020-covid19-hackathon/-/wikis/Covid-19-hackathon [1] https://people.debian.org/~tille/talks/20200208_debian-med-sprint/sprints+mentoring.pdf#page=26 (I've re-used that slide frequently :-) On Thu, Apr 09, 2020 at 01:45:38AM -0400, Olek Wojnar wrote: > Hi Scott, > > On Thu, Apr 9, 2020 at 12:43 AM Scott Kitterman > wrote: > > > > > I took care of the request, so they are in the team now and can push the > > package to the team repo. Once that's done they can request sponsorship > > via > > our usual process (either RFS mail to debian-python@l.d.o or put the name > > of > > the package in /topic on #debian-python). The team is usually pretty > > responsive about sponsoring. > > > > Great, thanks! (Harley, please let us know if you have any questions about > how to do that) > > I will try to stay away from sponsoring it since if I do that, I won't be > > able > > to process it through New. > > > > And we definitely want and appreciate you doing that! :) > > -Olek -- http://fam-tille.de