Search Criteria
Package Details: python-pytest-httpserver 1.0.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-pytest-httpserver.git (read-only, click to copy) |
---|---|
Package Base: | python-pytest-httpserver |
Description: | Pytest plugin for testing http clients without contacting the real http server |
Upstream URL: | https://github.com/csernazs/pytest-httpserver/ |
Licenses: | MIT |
Conflicts: | python-pytest-localserver |
Submitter: | dbermond |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 3 |
Popularity: | 0.002335 |
First Submitted: | 2020-06-28 17:20 (UTC) |
Last Updated: | 2022-02-11 23:00 (UTC) |
Dependencies (10)
- python (python38, python37, python3.7, nogil-python, python39, python36, python311, python32)
- python-werkzeug
- python-pip (make)
- python-poetry (python-poetry-git) (make)
- python-setuptools (make)
- python-wheel (make)
- python-coverage (check)
- python-pytest (check)
- python-pytest-cov (check)
- python-requests (check)
Required by (4)
- python-click-extra (check)
- python-torf (check)
- python-vt-py (check)
- vdirsyncer-git (check)
Latest Comments
whynothugo commented on 2021-07-19 18:36 (UTC)
Thanks!
dbermond commented on 2021-07-19 18:05 (UTC)
@whynothugo @serxxx I have add a conflicts entry for python-pytest-localserver.
serxxx commented on 2021-07-19 09:22 (UTC)
@whynothugo I second this. Every unit test in
python-pytest-httpserver
fails ifpython-pytest-localserver
is installed; they pass iflocalserver
is removed first.vdirsyncer-git
depends on this package, which means iflocalserver
is installed,vdirsyncer
can't be untilpython-pytest-localserver
is removed.whynothugo commented on 2021-07-04 12:08 (UTC)
python-torf
does not pass for me ifpython-pytest-localserver
is installedBoth pytest plugins provide fixtures with the same name
httpserver
, so one will always override the other.I've no idea why (or how) it worked for you. Maybe which plugin shadows the other is not fully deterministic? The reality is, having both installed at the same times mean that one is always broken (hence my suggestion to mark them as conflicting).
Here's my output running
makepkg
for `python-torf:Removing
python-pytest-localserver
madecheck()
pass and the package build successfully.dbermond commented on 2021-07-04 11:40 (UTC)
@whynothugo python-torf tests works fine when both are installed.
whynothugo commented on 2021-07-04 09:52 (UTC)
They both provide a fixture with the same name.
Installing
python-pytest-localserver
package makes tests that use this package fail.Do you have any examples of ones that DON'T fail?
dbermond commented on 2021-07-04 02:49 (UTC) (edited on 2021-07-04 02:49 (UTC) by dbermond)
@whynothugo I don't see any conflict between this package and python-pytest-localserver, since they can be installed together and they also work fine when both are installed. Yes, this package fails to build when python-pytest-localserver is installed, but this is not a matter of a conflicts entry on the PKGBUILD. To overcome this, you need to build the package in a clean chroot with devtools.
whynothugo commented on 2021-07-02 11:24 (UTC)
This package conflicts with
python-pytest-localserver
.Tests for this package, and tests of packages that depend on it fail if
python-pytest-localserver
is locally installed.