Package Details: python-pipreqs 0.5.0-3

Git Clone URL: https://aur.archlinux.org/python-pipreqs.git (read-only, click to copy)
Package Base: python-pipreqs
Description: Pip requirements.txt generator based on imports in project
Upstream URL: https://github.com/bndr/pipreqs
Licenses: Apache-2.0
Submitter: jelly
Maintainer: Misaka13514 (felixonmars)
Last Packager: Misaka13514
Votes: 1
Popularity: 0.011842
First Submitted: 2024-04-13 18:19 (UTC)
Last Updated: 2024-04-16 03:47 (UTC)

Latest Comments

« First ‹ Previous 1 2

Misaka13514 commented on 2024-04-16 07:25 (UTC)

@tzok I don't know why the two tests failed. It works on my machine and GitHub's machine. I guess there is a different python in your environment variable? Would you mind testing with makechrootpkg? Thanks for your help. (If you don't have much time you can try my pre-built package.)

tzok commented on 2024-04-16 06:59 (UTC)

Two tests fail when trying to build the package:

======================================================================
FAIL: test_get_use_local_only (tests.test_pipreqs.TestPipreqs.test_get_use_local_only)
Test without checking PyPI, check to see if names of local
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tzok/.cache/yay/python-pipreqs/src/pipreqs-0.5.0/tests/test_pipreqs.py", line 150, in test_get_use_local_only
    self.assertTrue(item["name"].lower() in self.local)
AssertionError: False is not true

======================================================================
FAIL: test_init_local_only (tests.test_pipreqs.TestPipreqs.test_init_local_only)
Test that items listed in requirements.text are the same
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tzok/.cache/yay/python-pipreqs/src/pipreqs-0.5.0/tests/test_pipreqs.py", line 203, in test_init_local_only
    self.assertTrue(item[0].lower() in self.local)
AssertionError: False is not true

----------------------------------------------------------------------
Ran 28 tests in 33.699s

FAILED (failures=2)