Public bug reported:

I opening this ticket as I think there is problem with python3-typer
package

❯ lsb_release -rd
Description:    Ubuntu 22.04 LTS
Release:        22.04

I noticed the problem by using a package that depends on python3-typer
https://gitlab.com/volian/nala/-/issues/78#note_969563124
You may say nala is not shiped with ubuntu, but it is in debian.

But both debian and ubuntu are shipping python3-typer and the
dependencies is outstanding different.


https://packages.debian.org/sid/python3-typer depends on 2 packages:
- python3 (obvious)
- python3-click (why not :P)


while on jammy 0.4.0-1 
https://packages.ubuntu.com/jammy/ppc64el/python/python3-typer it depends on a 
lot of things:

black uncompromising Python code formatter (Python 3)
mkdocs Static site generator geared towards building project documentation
python3 interactive high-level object-oriented language (default python3 
version)
python3-click Wrapper around optparse for command line utilities - Python 3.x
python3-colorama Cross-platform colored terminal text in Python - Python 3.x
python3-coverage code coverage tool for Python 3
python3-flake8 code checker using pycodestyle and pyflakes - Python 3.x
python3-isort (<< 6.0.0) library for sorting Python imports (Python 3)
python3-isort (>= 5.0.6)
python3-mypy public modules for mypy (Python 3)
python3-pytest Simple, powerful testing in Python3
python3-pytest-cov py.test plugin to produce coverage reports for Python3
python3-pytest-sugar different output style for py.test with a progress bar
python3-pytest-xdist xdist plugin for py.test (Python 3)
python3-shellingham Tool to Detect Surrounding Shell

It's very strange to me to see dependencies such as python3-pytest*,
python3-flake8, python3-coverage, black ...

For me these ones are packages used by maintainers to validate the code
complies some rules.

I would have expected to have only few dependencies on ubuntu, may be
few more than on debian, but not all these.

These direct dependencies lead to install tons of package when
installing python3-typer

❯ sudo apt install python3-typer
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  black libjs-bootstrap4 libjs-jquery-hotkeys libjs-jquery-isonscreen 
libjs-jquery-metadata libjs-jquery-tablesorter libjs-jquery-throttle-debounce 
libjs-lunr libjs-modernizr libjs-popper.js libjs-sizzle mkdocs
  node-jquery pyflakes3 python3-cov-core python3-coverage python3-execnet 
python3-flake8 python3-isort python3-livereload python3-mccabe python3-mypy 
python3-mypy-extensions python3-nose2 python3-psutil
  python3-pycodestyle python3-pyflakes python3-pyinotify python3-pytest-cov 
python3-pytest-forked python3-pytest-sugar python3-pytest-xdist 
python3-shellingham python3-termcolor python3-tomli python3-tornado
  python3-typed-ast python3-typing-extensions sphinx-rtd-theme-common
Suggested packages:
  python-black-doc libjs-es5-shim ghp-import mkdocs-doc python-coverage-doc 
execnet-doc coffeescript node-less node-uglify python-livereload-doc 
python3-django python3-flask python3-slimmer python-nose2-doc
  python-psutil-doc python-pyinotify-doc python-tornado-doc python3-twisted 
python-typer-doc
The following NEW packages will be installed:
  black libjs-bootstrap4 libjs-jquery-hotkeys libjs-jquery-isonscreen 
libjs-jquery-metadata libjs-jquery-tablesorter libjs-jquery-throttle-debounce 
libjs-lunr libjs-modernizr libjs-popper.js libjs-sizzle mkdocs
  node-jquery pyflakes3 python3-cov-core python3-coverage python3-execnet 
python3-flake8 python3-isort python3-livereload python3-mccabe python3-mypy 
python3-mypy-extensions python3-nose2 python3-psutil
  python3-pycodestyle python3-pyflakes python3-pyinotify python3-pytest-cov 
python3-pytest-forked python3-pytest-sugar python3-pytest-xdist 
python3-shellingham python3-termcolor python3-tomli python3-tornado
  python3-typed-ast python3-typer python3-typing-extensions 
sphinx-rtd-theme-common
0 upgraded, 40 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.6 MB of archives.
After this operation, 78.3 MB of additional disk space will be used.

You may say it's normal, but at least if not I would have reported it

** Affects: typer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976812

Title:
  python3-typer depends on dev packages apparently

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/typer/+bug/1976812/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to