Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-26 Thread Antoine Beaupré
On 2022-04-26 21:31:59, Tino Mettler wrote:
> Am Mon, Apr 25, 2022 at 11:56:30 -0400 schrieb Antoine Beaupré:
>> On 2022-04-25 17:16:35, Tino Mettler wrote:
>> > Hi, Antoine,
>> >
>> > I run autopkgtest after the build process with the following result:
>> >
>> > # autopkgtest ./ -- qemu autopkgtest-unstable.img
>> > autopkgtest [15:05:05]: starting date: 2022-04-25
>> > autopkgtest [15:05:05]: version 5.21
>> > autopkgtest [15:05:05]: host mac; command line: /usr/bin/autopkgtest ./ -- 
>> > qemu autopkgtest-unstable.img
>> > autopkgtest [15:06:00]: testbed dpkg architecture: amd64
>> > autopkgtest [15:06:06]: testbed running kernel: Linux 5.17.0-1-amd64 #1 
>> > SMP PREEMPT Debian 5.17.3-1 (2022-04-18)
>> > autopkgtest [15:06:07]:  built-tree ./
>> > autopkgtest [15:06:07]: testing package show-in-file-manager version 
>> > 1.1.4-1
>> > *SKIP no tests in this package
>> > autopkgtest [15:06:07]:  summary
>> > *SKIP no tests in this package
>> > qemu-system-x86_64: terminating on signal 15 from pid 527684 
>> > (/usr/bin/python3)
>> >
>> > I'm still unsure what you meant with "You have actually configured it in 
>> > the package".
>> 
>> You haven't, I was mistaken. See other comments on the bug report.
>
> Hi Antoine,
>
> I'm currently unsure if this topic is a remaining issue regarding the
> package. When you propose a different name for the source package or a
> config entry for the autodep8 config, please let me know.

Yes, I think this is an issue that should be fixed. I think the source
(or binary at least?) package should be changed to match upstream, which
should fix the above error.

a.

-- 
We are discreet sheep; we wait to see how the drove is going, and then go
with the drove.
- Mark Twain



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-26 Thread Tino Mettler
Am Mon, Apr 25, 2022 at 11:56:30 -0400 schrieb Antoine Beaupré:
> On 2022-04-25 17:16:35, Tino Mettler wrote:
> > Hi, Antoine,
> >
> > I run autopkgtest after the build process with the following result:
> >
> > # autopkgtest ./ -- qemu autopkgtest-unstable.img
> > autopkgtest [15:05:05]: starting date: 2022-04-25
> > autopkgtest [15:05:05]: version 5.21
> > autopkgtest [15:05:05]: host mac; command line: /usr/bin/autopkgtest ./ -- 
> > qemu autopkgtest-unstable.img
> > autopkgtest [15:06:00]: testbed dpkg architecture: amd64
> > autopkgtest [15:06:06]: testbed running kernel: Linux 5.17.0-1-amd64 #1 SMP 
> > PREEMPT Debian 5.17.3-1 (2022-04-18)
> > autopkgtest [15:06:07]:  built-tree ./
> > autopkgtest [15:06:07]: testing package show-in-file-manager version 1.1.4-1
> > *SKIP no tests in this package
> > autopkgtest [15:06:07]:  summary
> > *SKIP no tests in this package
> > qemu-system-x86_64: terminating on signal 15 from pid 527684 
> > (/usr/bin/python3)
> >
> > I'm still unsure what you meant with "You have actually configured it in 
> > the package".
> 
> You haven't, I was mistaken. See other comments on the bug report.

Hi Antoine,

I'm currently unsure if this topic is a remaining issue regarding the
package. When you propose a different name for the source package or a
config entry for the autodep8 config, please let me know.

Regards,
Tino



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-25 Thread Antoine Beaupré
On 2022-04-25 17:16:35, Tino Mettler wrote:
> Hi, Antoine,
>
> I run autopkgtest after the build process with the following result:
>
> # autopkgtest ./ -- qemu autopkgtest-unstable.img
> autopkgtest [15:05:05]: starting date: 2022-04-25
> autopkgtest [15:05:05]: version 5.21
> autopkgtest [15:05:05]: host mac; command line: /usr/bin/autopkgtest ./ -- 
> qemu autopkgtest-unstable.img
> autopkgtest [15:06:00]: testbed dpkg architecture: amd64
> autopkgtest [15:06:06]: testbed running kernel: Linux 5.17.0-1-amd64 #1 SMP 
> PREEMPT Debian 5.17.3-1 (2022-04-18)
> autopkgtest [15:06:07]:  built-tree ./
> autopkgtest [15:06:07]: testing package show-in-file-manager version 1.1.4-1
> *SKIP no tests in this package
> autopkgtest [15:06:07]:  summary
> *SKIP no tests in this package
> qemu-system-x86_64: terminating on signal 15 from pid 527684 
> (/usr/bin/python3)
>
> I'm still unsure what you meant with "You have actually configured it in the 
> package".

As someone else mentioned in the bug report,

> All Python module packages have a minimal automatic autopkgtest that tries
> to import the module. Make sure the module name used by the test is
> correct, and if it isn't you should set the correct one in
> debian/tests/autopkgtest-pkg-python.conf (see e.g. python-xlib and the
> relevant documentation in autodep8(1)).

... in this case, the package name is `python3-showinfilemanager` which
is why it's trying to import that module. We'd need to either rename the
debian package to follow the module name (which could actually be
reasonable, since that's the actual name of the package on pypi) or add
the name to the above configuration file.

Thanks!

-- 
La publicité est la dictature invisible de notre société.
- Jacques Ellul



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-25 Thread Antoine Beaupré
On 2022-04-25 17:16:35, Tino Mettler wrote:
> Hi, Antoine,
>
> I run autopkgtest after the build process with the following result:
>
> # autopkgtest ./ -- qemu autopkgtest-unstable.img
> autopkgtest [15:05:05]: starting date: 2022-04-25
> autopkgtest [15:05:05]: version 5.21
> autopkgtest [15:05:05]: host mac; command line: /usr/bin/autopkgtest ./ -- 
> qemu autopkgtest-unstable.img
> autopkgtest [15:06:00]: testbed dpkg architecture: amd64
> autopkgtest [15:06:06]: testbed running kernel: Linux 5.17.0-1-amd64 #1 SMP 
> PREEMPT Debian 5.17.3-1 (2022-04-18)
> autopkgtest [15:06:07]:  built-tree ./
> autopkgtest [15:06:07]: testing package show-in-file-manager version 1.1.4-1
> *SKIP no tests in this package
> autopkgtest [15:06:07]:  summary
> *SKIP no tests in this package
> qemu-system-x86_64: terminating on signal 15 from pid 527684 
> (/usr/bin/python3)
>
> I'm still unsure what you meant with "You have actually configured it in the 
> package".

You haven't, I was mistaken. See other comments on the bug report.

-- 
The price of reliability is the pursuit of the utmost simplicity.
- C.A.R. Hoare



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-25 Thread Tino Mettler
Hi, Antoine,

I run autopkgtest after the build process with the following result:

# autopkgtest ./ -- qemu autopkgtest-unstable.img
autopkgtest [15:05:05]: starting date: 2022-04-25
autopkgtest [15:05:05]: version 5.21
autopkgtest [15:05:05]: host mac; command line: /usr/bin/autopkgtest ./ -- qemu 
autopkgtest-unstable.img
autopkgtest [15:06:00]: testbed dpkg architecture: amd64
autopkgtest [15:06:06]: testbed running kernel: Linux 5.17.0-1-amd64 #1 SMP 
PREEMPT Debian 5.17.3-1 (2022-04-18)
autopkgtest [15:06:07]:  built-tree ./
autopkgtest [15:06:07]: testing package show-in-file-manager version 1.1.4-1
*SKIP no tests in this package
autopkgtest [15:06:07]:  summary
*SKIP no tests in this package
qemu-system-x86_64: terminating on signal 15 from pid 527684 (/usr/bin/python3)

I'm still unsure what you meant with "You have actually configured it in the 
package".

Regards,
Tino



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-25 Thread Andrey Rahmatullin
On Sun, Apr 24, 2022 at 10:32:05PM +0200, Tino Mettler wrote:
> > You have actually configured it in the package, so it would be better if
> > it actually works. :) Try just running `autopkgtest` in the source
> > directory..
> > 
> > https://wiki.debian.org/ContinuousIntegration/autopkgtest
> 
> Hi,
> 
> I was not aware that the package defines any test specific bits. Can you 
> point me to the relevant part? I had the impression that a package needs to 
> define the tests in debian/tests/, and the showinfilemanager package does not 
> have a debian/tests directory.
All Python module packages have a minimal automatic autopkgtest that tries
to import the module. Make sure the module name used by the test is
correct, and if it isn't you should set the correct one in
debian/tests/autopkgtest-pkg-python.conf (see e.g. python-xlib and the
relevant documentation in autodep8(1)).


-- 
WBR, wRAR


signature.asc
Description: PGP signature


Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-25 Thread gregor herrmann
On Mon, 25 Apr 2022 09:31:50 -0400, Antoine Beaupré wrote:

> On 2022-04-24 22:32:05, Tino Mettler wrote:
> > Am 24.04.2022 um 22:04 schrieb Antoine Beaupré :

> > I was not aware that the package defines any test specific bits. Can you 
> > point me to the relevant part? I had the impression that a package needs to 
> > define the tests in debian/tests/, and the showinfilemanager package does 
> > not have a debian/tests directory.
> Uh. Weird. I guess I can't explain that then and that the package can
> just be uploaded already. :)

Maybe this gives a hint:

| autopkgtest [15:28:00]: test autodep8-python3: [---
   


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   BOFH excuse #447:  According to Microsoft, it's by design 



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-25 Thread Antoine Beaupré
Control: owner -1 anar...@debian.org

On 2022-04-24 22:32:05, Tino Mettler wrote:
> Am 24.04.2022 um 22:04 schrieb Antoine Beaupré :
>> 
>> You have actually configured it in the package, so it would be better if
>> it actually works. :) Try just running `autopkgtest` in the source
>> directory..
>> 
>> https://wiki.debian.org/ContinuousIntegration/autopkgtest
>
> Hi,
>
> I was not aware that the package defines any test specific bits. Can you 
> point me to the relevant part? I had the impression that a package needs to 
> define the tests in debian/tests/, and the showinfilemanager package does not 
> have a debian/tests directory.

Uh. Weird. I guess I can't explain that then and that the package can
just be uploaded already. :)

I'll do that now.

A.

-- 
The difference between a democracy and a dictatorship is that in a
democracy you vote first and take orders later; in a dictatorship you
don't have to waste your time voting.
 - Charles Bukowski



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-24 Thread Tino Mettler
Am 24.04.2022 um 22:04 schrieb Antoine Beaupré :
> 
> You have actually configured it in the package, so it would be better if
> it actually works. :) Try just running `autopkgtest` in the source
> directory..
> 
> https://wiki.debian.org/ContinuousIntegration/autopkgtest

Hi,

I was not aware that the package defines any test specific bits. Can you point 
me to the relevant part? I had the impression that a package needs to define 
the tests in debian/tests/, and the showinfilemanager package does not have a 
debian/tests directory.

Regards,
Tino



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-24 Thread Tino Mettler


Am 24.04.2022 um 21:41 schrieb Antoine Beaupré :
> 
> Hi!
> 
> I tested the package and it generally looks good, but tests fail in
> autopkgtest:
> 
> autopkgtest [15:28:00]: test autodep8-python3: set -e ; for py in 
> $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with 
> $py:" ; $py -c "import showinfilemanager; print(showinfilemanager)" ; done
> autopkgtest [15:28:00]: test autodep8-python3: [---
> Testing with python3.9:
> Traceback (most recent call last):
>  File "", line 1, in 
> ModuleNotFoundError: No module named 'showinfilemanager'
> autopkgtest [15:28:01]: test autodep8-python3: ---]
> autopkgtest [15:28:02]: test autodep8-python3:  - - - - - - - - - - results - 
> - - - - - - - - -
> autodep8-python3 FAIL non-zero exit status 1
> autopkgtest [15:28:03]:  summary
> autodep8-python3 FAIL non-zero exit status 1
> qemu-system-x86_64: terminating on signal 15 from pid 136604 
> (/usr/bin/python3)
> 
> 
> I'm doing this in a new qemu-based setup so it's possible this is due to
> my setup, can you reproduce?

Hi,

I've never worked with autopkgtest. My last upload was a few years ago when the 
autotestpkg stuff was quite new. What do I need to do in order to reproduce 
this? In my pbuilder log, I just see this:

   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:239: cd 
/build/show-in-file-manager-1.1.4/.pybuild/cpython3_3.9/build; python3.9 -m 
unittest discover -v 

--
Ran 0 tests in 0.000s

OK
I: pybuild base:239: cd 
/build/show-in-file-manager-1.1.4/.pybuild/cpython3_3.10/build; python3.10 -m 
unittest discover -v 

--
Ran 0 tests in 0.000s

OK

Regards,
Tino



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-24 Thread Antoine Beaupré
On 2022-04-24 21:57:09, Tino Mettler wrote:
> Am 24.04.2022 um 21:41 schrieb Antoine Beaupré :
>> 
>> Hi!
>> 
>> I tested the package and it generally looks good, but tests fail in
>> autopkgtest:
>> 
>> autopkgtest [15:28:00]: test autodep8-python3: set -e ; for py in 
>> $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing 
>> with $py:" ; $py -c "import showinfilemanager; print(showinfilemanager)" ; 
>> done
>> autopkgtest [15:28:00]: test autodep8-python3: [---
>> Testing with python3.9:
>> Traceback (most recent call last):
>>  File "", line 1, in 
>> ModuleNotFoundError: No module named 'showinfilemanager'
>> autopkgtest [15:28:01]: test autodep8-python3: ---]
>> autopkgtest [15:28:02]: test autodep8-python3:  - - - - - - - - - - results 
>> - - - - - - - - - -
>> autodep8-python3 FAIL non-zero exit status 1
>> autopkgtest [15:28:03]:  summary
>> autodep8-python3 FAIL non-zero exit status 1
>> qemu-system-x86_64: terminating on signal 15 from pid 136604 
>> (/usr/bin/python3)
>> 
>> 
>> I'm doing this in a new qemu-based setup so it's possible this is due to
>> my setup, can you reproduce?
>
> Hi,
>
> I've never worked with autopkgtest. My last upload was a few years ago when 
> the autotestpkg stuff was quite new. What do I need to do in order to 
> reproduce this? In my pbuilder log, I just see this:
>
>dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:239: cd 
> /build/show-in-file-manager-1.1.4/.pybuild/cpython3_3.9/build; python3.9 -m 
> unittest discover -v 
>
> --
> Ran 0 tests in 0.000s
>
> OK
> I: pybuild base:239: cd 
> /build/show-in-file-manager-1.1.4/.pybuild/cpython3_3.10/build; python3.10 -m 
> unittest discover -v 
>
> --
> Ran 0 tests in 0.000s
>
> OK

Yeah, so that is the test suite running (or failing to be detected, to
be more accurate) at *build* time. Autopkgtest runs the test suite
*after* the package is build, with the built package.

You have actually configured it in the package, so it would be better if
it actually works. :) Try just running `autopkgtest` in the source
directory..

https://wiki.debian.org/ContinuousIntegration/autopkgtest

A.
-- 
How inappropriate to call this planet 'Earth' when it is quite clearly
'Ocean'.
- Arthur C. Clarke



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-24 Thread Antoine Beaupré
Hi!

I tested the package and it generally looks good, but tests fail in
autopkgtest:

autopkgtest [15:28:00]: test autodep8-python3: set -e ; for py in $(py3versions 
-r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c 
"import showinfilemanager; print(showinfilemanager)" ; done
autopkgtest [15:28:00]: test autodep8-python3: [---
Testing with python3.9:
Traceback (most recent call last):
  File "", line 1, in 
ModuleNotFoundError: No module named 'showinfilemanager'
autopkgtest [15:28:01]: test autodep8-python3: ---]
autopkgtest [15:28:02]: test autodep8-python3:  - - - - - - - - - - results - - 
- - - - - - - -
autodep8-python3 FAIL non-zero exit status 1
autopkgtest [15:28:03]:  summary
autodep8-python3 FAIL non-zero exit status 1
qemu-system-x86_64: terminating on signal 15 from pid 136604 (/usr/bin/python3)


I'm doing this in a new qemu-based setup so it's possible this is due to
my setup, can you reproduce?

a.

-- 
For every complex problem, there is an answer that is clear, simple -
and wrong.
- H.L. Mencken



Bug#1010074: RFS: show-in-file-manager/1.1.4-1 [RFP] -- Open the system file manager and optionally select files in it

2022-04-23 Thread Tino Mettler
Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my package "show-in-file-manager":

 * Package name: show-in-file-manager
   Version : 1.1.4-1
   Upstream Author : Damon Lynch 
 * URL : https://github.com/damonlynch/showinfilemanager
 * License : Expat
 * Vcs : 
https://salsa.debian.org/python-team/packages/python-show-in-file-manager
   Section : python

This python libary is required by recent upstream version for
rapid-photo-downloader, a mighty tool to transfer pictures from cameras
and other devices.  Recently, rapid-photo-downloader got broken in
unstable due to Python changes. 

This package is needed to update the rapid-photo-downloader package to
the current upstream version and make it work again. It is mostly a
copy of the current Ubuntu package with minor adjustments.

Antoine Beaupré suggested to put it into the Python team on Salsa.

The source builds the following binary packages:

  python3-showinfilemanager - Open the system file manager and optionally 
select files in it

To access further information about this package, please visit the following 
URL:

  https://mentors.debian.net/package/show-in-file-manager/

Alternatively, you can download the package with 'dget' using this command:

  dget -x 
https://mentors.debian.net/debian/pool/main/s/show-in-file-manager/show-in-file-manager_1.1.4-1.dsc

Changes for the initial release:

 show-in-file-manager (1.1.4-1) unstable; urgency=medium
 .
   * First upload in Debian (Closes: #1009782)

Regards,
-- 
  Tino Mettler