Package Details: python-pytest-flask 1.3.0-2

Git Clone URL: (read-only, click to copy)
Package Base: python-pytest-flask
Description: A set of pytest fixtures to test Flask applications.
Upstream URL:
Licenses: MIT
Submitter: Anthony25
Maintainer: HLFH
Last Packager: HLFH
Votes: 1
Popularity: 0.000013
First Submitted: 2017-04-07 12:53 (UTC)
Last Updated: 2024-05-06 06:29 (UTC)

Latest Comments

intelfx commented on 2024-06-14 19:12 (UTC)

As per the two comments below, this package is using obsolete setuptools CLI and is missing makedependencies.

Please apply:

alex19EP commented on 2024-06-11 15:14 (UTC)

please apply following

diff --git i/PKGBUILD w/PKGBUILD index 7752fb2..d3a8335 100644 --- i/PKGBUILD +++ w/PKGBUILD @@ -8,7 +8,7 @@ pkgdesc="A set of pytest fixtures to test Flask applications." arch=(any) url='' license=(MIT) -makedepends=('python-setuptools') +makedepends=('python-setuptools' 'python-wheel' 'python-pip') depends=('python-pytest' 'python-flask' 'python-werkzeug') source=("${_name::1}/$_name/$_name-$pkgver.tar.gz") b2sums=('008c7f2acdc320dcab3e1745fb8e546a1f4cbdf75155db85f00bb70aea2eb3efa46d68f39fac114e3ddc3675b45d3d6d9a7bba8eb0c331c36e7f3d08c83c5da0')

f0ff886f commented on 2024-06-10 13:30 (UTC)

There is a missing dependency on python-pip. It will fail if that package isn't installed during build.

/usr/lib/python3.12/site-packages/setuptools/ _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.

        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.

WARNING: The wheel package is not available.
/usr/bin/python: No module named pip
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/setuptools/", line 101, in _fetch_build_egg_no_warn
  File "/usr/lib/python3.12/", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp5zfh6nzh', '--quiet', 'setuptools_scm']' returned non-zero exit status 1.

HLFH commented on 2023-12-05 05:03 (UTC)

Updated to 1.3.0.

HLFH commented on 2023-01-04 12:15 (UTC)

Package fixed and updated to 1.2.0.

HLFH commented on 2023-01-04 08:56 (UTC) (edited on 2023-01-04 08:57 (UTC) by HLFH)

Package is outdated and...broken.

 Lancement de package_python-pytest-flask()…
Traceback (most recent call last):
  File "/home/hlfh/.cache/yay/python-pytest-flask/src/pytest-flask-1.0.0/", line 127, in <module>
  File "/usr/lib/python3.10/site-packages/setuptools/", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 147, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/", line 475, in __init__
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 283, in __init__
  File "/usr/lib/python3.10/site-packages/setuptools/", line 899, in finalize_options
  File "/usr/lib/python3.10/site-packages/setuptools/", line 919, in _finalize_setup_keywords
    ep.load()(self,, value)
  File "/usr/lib/python3.10/site-packages/setuptools_scm/", line 91, in version_keyword
    _assign_version(dist, config)
  File "/usr/lib/python3.10/site-packages/setuptools_scm/", line 63, in _assign_version
  File "/usr/lib/python3.10/site-packages/setuptools_scm/", line 108, in _version_missing
    raise LookupError(
LookupError: setuptools-scm was unable to detect version for /home/hlfh/.cache/yay/python-pytest-flask/src/pytest-flask-1.0.0.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of use git+
==> ERREUR : Une erreur s’est produite dans package_python-pytest-flask().
 -> erreur lors de la construction : python-pytest-flask