Search Criteria
Package Details: python-flake8-pyproject 1.2.3-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-flake8-pyproject.git (read-only, click to copy) |
---|---|
Package Base: | python-flake8-pyproject |
Description: | Flake8 plug-in loading the configuration from pyproject.toml |
Upstream URL: | https://github.com/john-hen/Flake8-pyproject |
Licenses: | MIT |
Submitter: | wjhandley |
Maintainer: | wjhandley |
Last Packager: | wjhandley |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2023-09-06 09:28 (UTC) |
Last Updated: | 2024-10-08 16:17 (UTC) |
Dependencies (8)
- flake8
- python-tomli
- python-wheel
- python-build (make)
- python-flit-core (make)
- python-installer (make)
- python-pytest (check)
- python-pytest-cov (check)
Required by (1)
- papis-git (check)
Latest Comments
gesh commented on 2024-12-23 14:43 (UTC) (edited on 2024-12-23 14:43 (UTC) by gesh)
Note: Package needs to be rebuilt for Python 3.13 (a bump to pkgrel suffices)
gesh commented on 2024-10-08 13:30 (UTC) (edited on 2024-10-08 13:34 (UTC) by gesh)
You must've missed my correction that
python-wheel
is indeed unnecessary -- since we useflit-core
as a build backend, there's no need for it.Further, as @bcb noted, the only use of
python-tomli
is guarded behind a check for python >=3.11. That version has been out for two years now, I don't think that we need to keep support for older version in the PKGBUILD. (It's a matter of taste whether to also includepython
explicitly as a dependency, up to you)Finally, attached is a patch enabling the integration testsuite -- in general, it's good practice to run whatever reasonable testsuites upstream provides.
gesh commented on 2024-09-30 13:13 (UTC) (edited on 2024-09-30 15:55 (UTC) by gesh)
Thanks for packaging! Some further comments:
PEP517 builds needTIL that's only true of projects usingpython-wheel
as a dependency as wellsetuptools
as a backend.flake8-1:7.1.1-1
andpython-pycodestyle-2.11.1-2
fails -- I needed to manually bumppython-pycodestyle
to2.12.1
for the dependency check ofpython -m build
to pass.check()
(this means addingpython-pytest{,-cov}
tocheckdepends
). ATM, though, I am getting test failures, though:EDIT: The build failures are only when I build in a clean chroot -- if I build with a simple
makepkg
everything works.bcb commented on 2023-11-28 14:18 (UTC)
Thanks for packaging! Two comments:
python-tomli
is not required -- it is only used for older versions of Python which do not have the standardtomllib
librarypython-flit-core
needs to be inmakedepends