Bug#1050688: poetry: needs internet access during build?

2023-09-14 Thread Gianfranco Costamagna

Hello,
On Tue, 12 Sep 2023 21:59:46 -0300 Emmanuel Arias  wrote:

Hi,

I can confirm that the next 4 tests needs internet to work:

* tests/installation/test_installer.py::test_installer_with_pypi_repository
* tests/installation/test_chef.py::test_prepare_directory_editable
* tests/installation/test_chef.py::test_prepare_directory
* tests/installation/test_chef.py::test_prepare_directory_with_extensions

I will thank you if you can tell me how run in a not internet builder.
My solution was just disconnect my RJ-45 from the computer to test the
no internet because I didn't found a solution from autopkgtest or sbuild
:-D.



Uploading in an Ubuntu ppa is the quicker way to test this :)

Probably you can export some non-existing proxy but I don't know if this works 
or not with the code.
I also unplug RJ-45 or export some iptables during build:

sudo iptables -P OUTPUT DROP

sudo iptables -P OUTPUT ACCEPT

But I don't know how much this can work or disrupt Debian builders.

G.


Cheers,
Emmanuel




Bug#1050688: poetry: needs internet access during build?

2023-09-12 Thread Emmanuel Arias
Hi,

I can confirm that the next 4 tests needs internet to work:

* tests/installation/test_installer.py::test_installer_with_pypi_repository
* tests/installation/test_chef.py::test_prepare_directory_editable
* tests/installation/test_chef.py::test_prepare_directory
* tests/installation/test_chef.py::test_prepare_directory_with_extensions

I will thank you if you can tell me how run in a not internet builder.
My solution was just disconnect my RJ-45 from the computer to test the
no internet because I didn't found a solution from autopkgtest or sbuild
:-D.

Cheers,
Emmanuel


signature.asc
Description: PGP signature


Bug#1050688: poetry: needs internet access during build?

2023-09-06 Thread Emmanuel Arias
Hi again,

OK, now I have a theory. In all the tests (or at least the tests that I
looked) intervene a egg-info folder. But now this folder is removed by
dh-python.

Cheers,
Emmanuel


signature.asc
Description: PGP signature


Bug#1050688: poetry: needs internet access during build?

2023-09-06 Thread Emmanuel Arias
Hi Gianfranco,

Thanks for you report, and sorry for the delay. I'm investigating the
issues. I can not says that they need internet connection but I did not
finish to check all tests.

This error seems strange to me because they run successfully some days
ago.

Cheers,
Emmanuel


signature.asc
Description: PGP signature