Are YOU interested in a potential remote sprint sometime in October/November? (yes YOU!)

2022-08-17 Thread Louis-Philippe Véronneau

Hello folks,

At DC22, a few people seemed interested in a potential Python Team 
remote sprint, sometime between October and early December.


I'm thus writing to the list to see if there is indeed interest for 
this. If only 2 people reply, I won't push this further :)


Here are a few potential ideas of things people could work on, in no 
particular order:


- working on testing and merging the pybuild-autodep8 feature [1]
- fixing the ~50 packages that are still using 'python3 setup.py' [2]
- reviewing and merging unnoticed salsa MRs on the Team's packages [3]
- fixing policy violations [4]
- upstreaming CPython patches [5]
- trying to remove all remaining Python 2 packages [6]
- working on PEP 668 [7] [8]
- working on lintian tags for the team [9]
- patching tracker.debian.org (Django) to show pending MRs [10] [11]

People are of course welcome to work on whatever other things they see 
fit for the betterment of the Team :)


I've done a remote sprint for the Clojure Team back in May and it went 
great.


Each people registered and we asked for a food budget, based on the 
"Meals and Incidentals Rate" the US government publishes for most cities 
in the world [12] [13]. I encourage you to look up your city, but I know 
I ended up eating pretty well :)


I would envision a 3 day sprint (Friday, Saturday, Sunday) being long 
enough yet not too long for most of us to make progress on key issues 
without being over-tiring.


Happy to hear back from y'all (please do if you're interested). If I see 
people are interested, I'll send a poll to find the most suitable dates.


Cheers,


[1]: 
https://salsa.debian.org/python-team/tools/dh-python/-/merge_requests/27

[2]: https://lists.debian.org/debian-python/2022/08/msg00046.html
[3]: https://salsa.debian.org/groups/python-team/packages/-/merge_requests
[4]: https://github.com/sandrotosi/dpt-repos-check/blob/main/violations.txt
[5]: see https://pad.riseup.net/p/dc22pythonsprint-keep
[6]: see https://lists.debian.org/debian-python/2022/07/msg00065.html
[7]: 
https://discuss.python.org/t/pep-668-marking-python-base-environments-as-externally-managed/

[8]: https://peps.python.org/pep-0668/
[9]: see https://lists.debian.org/debian-python/2022/07/msg00065.html
[10]: https://tracker.debian.org/teams/python/
[11]: https://salsa.debian.org/qa/distro-tracker

[12]: 
https://www.gsa.gov/travel/plan-book/per-diem-rates/per-diem-rates-lookup

[13]: https://aoprals.state.gov/web920/per_diem.asp

--
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   po...@debian.org / veronneau.org
  ⠈⠳⣄


OpenPGP_0xE1E5457C8BAD4113.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: pybuild-autopkgtest (was: Notes from the DC22 Python Team BoF)

2022-08-17 Thread Louis-Philippe Véronneau

On 2022-07-27 16 h 32, Julian Gilbey wrote:

On Wed, Jul 27, 2022 at 07:45:12PM +0100, Julian Gilbey wrote:

On Wed, Jul 27, 2022 at 10:26:33AM -0400, Louis-Philippe Véronneau wrote:

The way I see it:

1. We should have a Lintian tag for packages not using the new
pybuild-autodep8 autopkgtest. It would be even better if this tag would be a
pointed hint that identified 'manually' written unit test autopkgtests that
could be replaced.

This way, you get something like:

python-foo source: not-using-pybuil-autodep8 [debian/tests/unittests]

for python packages that have old 'manually' written unit test autopkgtests
and:

python-foo source: not-using-pybuild-autodep8 [no-autopkgtest]

for python packages without any autopkgtest.

2. lintian-brush (or something else, but I think lintian-brush is the right
tool) would go over these packages to:

2.1 Add the new autodep8 autopkgtests and build the package to see if they
pass
2.2 Remove the "manual" unit test autopkgtests if 2.1 succeeds
2.3 Open a bug report if 2.1 fails


I'd be wary about 2.2 and 2.3.  I have several packages where I know
that an automated test will fail; there are all sorts of weird cases
where I've had to write tests manually.  I would also be quite cross
if manually crafted tests were automatically removed, especially in
cases such as Simon mentioned where they do things that that
automatically generated test does not do.  Another thing I could
imagine happening is that the automated test succeeds in a trivial way
- it succeeds but doesn't actually test much because of the nature of
the package.

On the other hand, a bug report saying something like the following
seems much more reasonable: "We've tested this package using the
automated autopkgtest system and it seems to work by adding the line
'Testsuite: autopkgtest-pkg-pybuild'; please check that the automated
tests cover all of the tests of your manually written debian/tests/*
and if so, then please remove them.  The autopkgtest-pkg-pybuild logs
are attached."  This would give the maintainer the chance to decide
how best to proceed.


Here's another alternative to steps 2.1-2.3 based on this:

  For packages which currently have manually-written autopkgtests:

  2.A Try removing debian/tests and adding Testsuite:
  autopkgtest-pkg-pybuild to debian/control, then building the
  package and running autopkgtest.

  2.B If this works, then submit a bug report to the BTS as I suggested
  above.

  2.C If this does not work, don't do anything more; trust that the
  maintainer knew what they were doing when they wrote the manual
  autopkgtests.

  For packages which don't currently have manually-written
  autopkgtests:

  2.A' Try adding Testsuite: autopkgtest-pkg-pybuild to debian/control,
   then building the package and running autopkgtest.

  2.B' If this works, then either Janitor adds this line to
   debian/control or submit a bug report to the BTS to recommend
   this.  (But we would not expect Janitor to do step 2.1', so this
   might have to be a different setup, or maybe the script doing
   2.A' could leave a list of packages for Janitor, or something
   like that.)

  2.C' If this does not work, submit a wishlist bug to the BTS to
   recommend that the maintainer adds some autopkgtest tests,
   either by making the autodep8 system work or by writing some
   manual tests.

I'd be wary about adding lintian tags for this, though: with so many
packages not being able to use the autodep8 system (I vaguely recall
someone suggesting that a third of Python packages would not be able
to use the system), that's a lot of packages getting false positives.
In particular, for the suggested first version of
not-using-pybuild-autodep8 tag (which would probably be better named
manual-autopkgtest-could-be-pybuild-autodep8), how would lintian go
about identifying which packages fall into category 2.B and which into
2.C?  The second version of the tag (better named something like
no-autopkgtest-could-use-pybuild-autodep8, but that's still not very
good) is less problematic.


This all makes a lot of sense to me and I think this is the way forward, 
once the MR is merged. Thanks for the discussion.


--
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   po...@debian.org / veronneau.org
  ⠈⠳⣄



OpenPGP_0xE1E5457C8BAD4113.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


joining the Python team

2022-08-17 Thread Chin Ah Toh
Hello,

I just packaged docarray for Debian and plan to package jina, a reverse 
dependency of docarray soon. As these are python packages I would like to join 
the python team and maintain these packages under the team. I initially tried 
going through Debian mentors and submitted an RFS for docarray but they 
suggested I join the python team and do it through the team.

Best,

Jack Toh


Request to join python team

2022-08-17 Thread Ileana Dumitrescu
Hi,

I am requesting to join the debian python team. I have already contributed
merge requests for updates to asyncpg and autokey (salsa username is
ildumi95), and I am working on updates to several other python projects. I
plan to help with standard package maintainer tasks and bug fixes. If there
are any specific high-maintenance or generally neglected packages that need
extra help or working on, please let me know!

I am a current member of the debian science maintainers team and have
contributed to python packages within the science team such as pivy. I have
also contributed to debian with riscv port fixes for various packages. I do
not have DD/DM privileges but am hoping to submit a DM application soon.

I confirm that I have read and accept the terms of the team policy in
https://salsa.debian.org/python-team/tools/python-modules/blob/master/policy.rst
.

Ileana Dumitrescu

GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354