Search Criteria
Package Details: python2-pathlib2 2.3.7.post1-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python2-pathlib2.git (read-only, click to copy) |
|---|---|
| Package Base: | python2-pathlib2 |
| Description: | Backports of the pathlib module |
| Upstream URL: | https://pypi.python.org/pypi/pathlib2 |
| Licenses: | MIT |
| Submitter: | hexd |
| Maintainer: | hexd |
| Last Packager: | hexd |
| Votes: | 4 |
| Popularity: | 0.000010 |
| First Submitted: | 2022-06-12 06:11 (UTC) |
| Last Updated: | 2022-06-13 04:30 (UTC) |
Dependencies (3)
- python2-scandirAUR
- python2-sixAUR
- python2-setuptoolsAUR (make)
Latest Comments
hexd commented on 2022-06-13 04:55 (UTC) (edited on 2022-06-13 05:03 (UTC) by hexd)
@MarsSeed, thanks! I've found a solution to completely remove the typing dependency, I have just missed the requirement entry in
setup.py(that's whypython2 -m pytestused to work whereaspytest2didn't). Now this was fixed (I've just patchedsetup.pyinstead of adding "typing" as another dependency), and the python2-bcrypt checking worked here with this new release =)Formerly,
pathlib2just importedtypingto create two private objects_Tand_Pto do nothing with them, these were just for static checking with# type:comments, so I removed theimportand the two useless objects, but if anything goes wrong because of the typing removal, just let me know.MarsSeed commented on 2022-06-13 00:56 (UTC)
After installing python2-typing, checking python2-bcrypt runs successfully. :)
MarsSeed commented on 2022-06-13 00:32 (UTC) (edited on 2022-06-13 00:55 (UTC) by MarsSeed)
python2-typing is required: pathlib2/requirements.txt.
Otherwise this happens when trying to use python2-pytest during the
check()of python2-bcrypt: