[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947261: ITP: python-poetry -- Python dependency management and packaging made easy



Hi Emmanuel,

I can help as a poetry user for a while if you don't mind. It seems that I could reproduce the pytest-mock issue by building this poetry deb source[1] with Ubuntu 21.04. For better communication, I am wondering the following items:

    - Is there any issue tracker for the pytest-mock issue? If so, it will help me nail down a reproducer, and avoid duplication of effort. I have checked the poetry dev repo[1] and did not find one. Maybe we will use this bug directly?
    - What other processes or patterns of collaboration will you prefer?


[1] https://salsa.debian.org/python-team/packages/poetry
[2] Some logs generated by my dpkg-buildpackage:
==================== 5 failed, 428 passed, 5 skipped, 1 warning, 167 errors in 65.03s (0:01:05) =====================
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd /home/ubuntu/build-poetry/poetry-1.1.6/.pybuild/cpython3_3.9_poetry/build; python3.9 -m pytest --ignore=tests/console/commands/env/test_list.py --ignore=tests/console/commands/env/test_remove.py --ignore=tests/console/commands/env/test_use.py --ignore=tests/utils/test_env.py
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
make: *** [debian/rules:16: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Kind regards,
Tai


On Thu, 4 Feb 2021 22:30:08 -0300 Emmanuel Arias <eamanu@yaerobi.com> wrote:
> On Thu, Feb 04, 2021 at 09:49:44AM +0100, Christian Kastner wrote:
> > Hi Emmanuel,
> >
> > On 23.12.19 20:16, Emmanuel Arias wrote:
> > > * Package name    : python-poetry
> >
> > > Poetry helps you declare, manage and install dependencies of Python
> > > projects, ensuring you have the right stack everywhere.
> > > .
> > > This package will be maintained as part of the Debian Python modules team.
> >
> > I was happy to see that poetry-core was recently accepted ftp-master,
> > and wanted to see how this package is progressing. Is there anything you
> > could use help with?
> >
> Hi thanks for write me.
>
> Yes please, I need some help finishing the packaging.
> Currenlty, is failing a test, seems to be a incompatibility
> on the pytest-mock, so fail a test that use `from pytest_mock.plugging
> import MockFixture`.
>
> In the other hand, would be great if we can package documentation.
>
> For build the poetry, currenlty, you'll need build locally some packages that
> are not in Debian yet. You can run sbuild in this way:
>
> `gbp buildpackage --git-ignore-new --extra-package=/home/eamanu/Debian/DEPENDENCIES/python3-cleo_0.8.1-1_all.deb --extra-package=/home/eamanu/Debian/DEPENDENCIES/python3-clikit_0.6.2-1_all.deb --extra-package=/home/eamanu/Debian/DEPENDENCIES/python3-crashtest_0.3.1-1_all.deb --extra-package=/home/eamanu/Debian/DEPENDENCIES/python3-pastel_0.2.1-1_all.deb --extra-package=/home/eamanu/Debian/DEPENDENCIES/python3-pylev_1.2.0-1_all.deb --extra-package=/home/eamanu/Debian/DEPENDENCIES/python3-shellingham_1.3.2-1_all.deb`
>
> Please, if you need anything more please contact me.
>
> Thanks for the help
>
> Best,
> Emmanuel
> > Best,
> > Christian
>
>

Reply to: