Package Details: python-mock 5.1.0-1

Git Clone URL: https://aur.archlinux.org/python-mock.git (read-only, click to copy)
Package Base: python-mock
Description: Mocking and Patching Library for Testing
Upstream URL: https://mock.readthedocs.io/en/latest/
Licenses: BSD-2-Clause
Submitter: jelly
Maintainer: nicolarevelant
Last Packager: nicolarevelant
Votes: 5
Popularity: 2.73
First Submitted: 2024-03-09 15:34 (UTC)
Last Updated: 2024-03-16 22:48 (UTC)

Latest Comments

Auerhuhn commented on 2024-03-16 22:52 (UTC)

@nicolarelevant That’s right. However, some packages still depend on mock instead of unittest.mock included in the stdlib. That’s why this package is still useful.

nicolarevelant commented on 2024-03-16 22:50 (UTC) (edited on 2024-03-16 22:51 (UTC) by nicolarevelant)

Remember that this package is already included in python>=3.3

Auerhuhn commented on 2024-03-16 18:28 (UTC) (edited on 2024-03-16 18:28 (UTC) by Auerhuhn)

@nicolarelevant Here’s a suggested patch:

Feel free to apply it. Thanks for maintaining the package!

Regards
Claudia

xiretza commented on 2024-03-16 11:12 (UTC)

This doesn't build:

==> Starting build()...
Traceback (most recent call last):
  File "/build/python-mock/src/mock-3.0.5/setup.py", line 4, in <module>
    import setuptools
ModuleNotFoundError: No module named 'setuptools'
==> ERROR: A failure occurred in build().