Your message dated Mon, 25 May 2020 19:24:22 +0100
with message-id <[email protected]>
and subject line Re: Bug#961504: python3-flake8: missing flake8 executable
has caused the Debian Bug report #961504,
regarding python3-flake8: missing flake8 executable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
961504: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961504
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-flake8
Version: 3.7.9-2
Severity: normal

Dear Maintainer,

After installing python3-flake8 package:
apt-get install python3-flake8

/usr/bin/flake8 executable is missing. Therefore, user cannot execute flake8
command as it is done in python3-autopep8 where the /usr/bin/autopep8 is
available.

Here the flake8 installed files:
dpkg -L python3-flake8

```
/.
/usr
/usr/lib
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/flake8
/usr/lib/python3/dist-packages/flake8/__init__.py
/usr/lib/python3/dist-packages/flake8/__main__.py
/usr/lib/python3/dist-packages/flake8/api
/usr/lib/python3/dist-packages/flake8/api/__init__.py
/usr/lib/python3/dist-packages/flake8/api/legacy.py
/usr/lib/python3/dist-packages/flake8/checker.py
/usr/lib/python3/dist-packages/flake8/defaults.py
/usr/lib/python3/dist-packages/flake8/exceptions.py
/usr/lib/python3/dist-packages/flake8/formatting
/usr/lib/python3/dist-packages/flake8/formatting/__init__.py
/usr/lib/python3/dist-packages/flake8/formatting/base.py
/usr/lib/python3/dist-packages/flake8/formatting/default.py
/usr/lib/python3/dist-packages/flake8/main
/usr/lib/python3/dist-packages/flake8/main/__init__.py
/usr/lib/python3/dist-packages/flake8/main/application.py
/usr/lib/python3/dist-packages/flake8/main/cli.py
/usr/lib/python3/dist-packages/flake8/main/debug.py
/usr/lib/python3/dist-packages/flake8/main/git.py
/usr/lib/python3/dist-packages/flake8/main/mercurial.py
/usr/lib/python3/dist-packages/flake8/main/options.py
/usr/lib/python3/dist-packages/flake8/main/setuptools_command.py
/usr/lib/python3/dist-packages/flake8/main/vcs.py
/usr/lib/python3/dist-packages/flake8/options
/usr/lib/python3/dist-packages/flake8/options/__init__.py
/usr/lib/python3/dist-packages/flake8/options/aggregator.py
/usr/lib/python3/dist-packages/flake8/options/config.py
/usr/lib/python3/dist-packages/flake8/options/manager.py
/usr/lib/python3/dist-packages/flake8/plugins
/usr/lib/python3/dist-packages/flake8/plugins/__init__.py
/usr/lib/python3/dist-packages/flake8/plugins/manager.py
/usr/lib/python3/dist-packages/flake8/plugins/pyflakes.py
/usr/lib/python3/dist-packages/flake8/processor.py
/usr/lib/python3/dist-packages/flake8/statistics.py
/usr/lib/python3/dist-packages/flake8/style_guide.py
/usr/lib/python3/dist-packages/flake8/utils.py
/usr/lib/python3/dist-packages/flake8-3.7.9.egg-info
/usr/lib/python3/dist-packages/flake8-3.7.9.egg-info/PKG-INFO
/usr/lib/python3/dist-packages/flake8-3.7.9.egg-info/dependency_links.txt
/usr/lib/python3/dist-packages/flake8-3.7.9.egg-info/entry_points.txt
/usr/lib/python3/dist-packages/flake8-3.7.9.egg-info/requires.txt
/usr/lib/python3/dist-packages/flake8-3.7.9.egg-info/top_level.txt
/usr/share
/usr/share/doc
/usr/share/doc/python3-flake8
/usr/share/doc/python3-flake8/changelog.Debian.gz
/usr/share/doc/python3-flake8/changelog.gz
/usr/share/doc/python3-flake8/copyright
```

I would expect the python3-flake8 package contains this file: /usr/bin/flake8,
with this content:

```
#!/usr/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'flake8==3.8.2','console_scripts','flake8'
__requires__ = 'flake8==3.8.2'
import re
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(
        load_entry_point('flake8==3.8.2', 'console_scripts', 'flake8')()
    )
```

Could it be possible to add the executable /usr/bin/flake8 to the
python3-flake8 package as it is done in the python3-autopep8?

Thanks!





-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) (ignored: LC_ALL set to 
en_GB.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-flake8 depends on:
ii  python3              3.8.2-3
ii  python3-entrypoints  0.3-3
ii  python3-mccabe       0.6.1-3
ii  python3-pycodestyle  2.5.0-3
ii  python3-pyflakes     2.1.1-2
ii  python3-setuptools   44.0.0-1

python3-flake8 recommends no packages.

python3-flake8 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Mon, 25 May 2020 at 17:09:36 +0200, Daniel Gomez wrote:
> On Mon, 25 May 2020 at 15:10, Simon McVittie <[email protected]> wrote:
> > On Mon, 25 May 2020 at 14:02:22 +0200, Daniel Gomez wrote:
> > > After installing python3-flake8 package:
> > > apt-get install python3-flake8
> > >
> > > /usr/bin/flake8 executable is missing.
> >
> > That's in the flake8 package. python3-flake8 is just the library part;
> > it's similar to the relationship between executables and libraries written
> > in C/C++, such as apt and libapt-pkg6.0.

Closing as "not a bug".

    smcv

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to