28 Commits

Author SHA256 Message Date
9b5844dd24 Skip httpd integration tests
We can't run these tests with abuild user in build environment.
2025-11-04 12:07:34 +01:00
8d6cd3aefd Accepting request 1293183 from devel:languages:python:pytest
- remove python-jenkins from test requirements (jenkins tests
  are not run)

- Don't use %_libdir to discover where apache2 is living.
- Drop mock BuildRequires, it is not required.
- use pytest macro

OBS-URL: https://build.opensuse.org/request/show/1293183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=12
2025-07-15 14:44:13 +00:00
fef9699079 - remove python-jenkins from test requirements (jenkins tests
are not run)
- Don't use %_libdir to discover where apache2 is living.
- Drop mock BuildRequires, it is not required.
- use pytest macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=25
2025-07-14 15:24:46 +00:00
03529dcbfb Accepting request 1246294 from devel:languages:python:pytest
- Don't use %_libdir to discover where apache2 is living. 

- Update 1.8.1:
  * Correct httpd command line
  * Minor bugfix now that workspace.workspace is a Path object.
- Drop patch fix-httpd-fixture-path.patch, now included.

OBS-URL: https://build.opensuse.org/request/show/1246294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=11
2025-02-17 19:54:55 +00:00
954bc71d44 - Don't use %_libdir to discover where apache2 is living.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=23
2025-02-17 03:15:08 +00:00
971d40e72b - Update 1.8.1:
* Correct httpd command line
  * Minor bugfix now that workspace.workspace is a Path object.
- Drop patch fix-httpd-fixture-path.patch, now included.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=22
2025-02-04 04:14:37 +00:00
56d078adc1 Accepting request 1216912 from devel:languages:python:pytest
- Update to 1.8.0:
  * Drop support for Python 2 and <3.6, removing compatibility code.
  * Use stdlib unittest.mock instead of mock package.
  * Removed usage of path.py and path in favour of pathlib.
  * BREAKING CHANGE: Removed RethinkDB support, as the mirror was no longer
    available.
  * Allowed passing through HTTP headers to the server.
  * Fixed threading log debug messages.
  * Removed usage of deprecated Thread.setDaemon.
  * Explicitly close initial Mongo client.
  * Don't use context manager for CREATE DATABASE
- Drop patches, included upstream:
  * pytest-plugins-pr186-fix-psycopg29.patch
  * remove-mock.patch
- Refreshed remove-six-and-future.patch
- Add patch fix-httpd-fixture-path.patch:
  * Attempt to run httpd with the correct config file
- Add patch support-64-bit-pids-xvfb.patch:
  * Support 64 bit PIDs when running Xvfb

OBS-URL: https://build.opensuse.org/request/show/1216912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=10
2024-10-22 12:53:00 +00:00
7d80250372 - Update to 1.8.0:
* Drop support for Python 2 and <3.6, removing compatibility code.
  * Use stdlib unittest.mock instead of mock package.
  * Removed usage of path.py and path in favour of pathlib.
  * BREAKING CHANGE: Removed RethinkDB support, as the mirror was no longer
    available.
  * Allowed passing through HTTP headers to the server.
  * Fixed threading log debug messages.
  * Removed usage of deprecated Thread.setDaemon.
  * Explicitly close initial Mongo client.
  * Don't use context manager for CREATE DATABASE
- Drop patches, included upstream:
  * pytest-plugins-pr186-fix-psycopg29.patch
  * remove-mock.patch
- Refreshed remove-six-and-future.patch
- Add patch fix-httpd-fixture-path.patch:
  * Attempt to run httpd with the correct config file
- Add patch support-64-bit-pids-xvfb.patch:
  * Support 64 bit PIDs when running Xvfb

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=20
2024-10-22 06:11:08 +00:00
5e81d035ec Accepting request 1108019 from devel:languages:python:pytest
- Add patch remove-six-and-future.patch:
  * Remove use of six and future.
- Remove patch python-pytest-server-fixtures-no-six.patch, covered by above.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1108019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=9
2023-08-30 08:22:16 +00:00
f37817590e - Add patch remove-six-and-future.patch:
* Remove use of six and future.
- Remove patch python-pytest-server-fixtures-no-six.patch, covered by above.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=18
2023-08-30 05:27:21 +00:00
38ad454bbb Accepting request 1041859 from devel:languages:python:pytest
- Remove remote path for pytest-plugins-pr186-fix-psycopg29.patch to avoid
  download that patch from github
- Update source pytest-plugins-pr186-fix-psycopg29.patch
- do not require six
- use -p1 as quilt does not like higher
- modified patches
  % pytest-plugins-pr186-fix-psycopg29.patch (refreshed)
  % remove-mock.patch (refreshed)
- added patches
  fix https://github.com/man-group/pytest-plugins/issues/209
  + python-pytest-server-fixtures-no-six.patch

OBS-URL: https://build.opensuse.org/request/show/1041859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=8
2022-12-10 20:17:58 +00:00
5f2f6ae19c - Remove remote path for pytest-plugins-pr186-fix-psycopg29.patch to avoid
download that patch from github

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=16
2022-12-09 12:05:49 +00:00
1429f073c1 - Update pytest-plugins-pr186-fix-psycopg29.patch source file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=15
2022-12-09 11:57:31 +00:00
7340e7733f Accepting request 1041392 from home:pgajdos:python
- do not require six
- use -p1 as quilt does not like higher
- modified patches
  % pytest-plugins-pr186-fix-psycopg29.patch (refreshed)
  % remove-mock.patch (refreshed)
- added patches
  fix https://github.com/man-group/pytest-plugins/issues/209
  + python-pytest-server-fixtures-no-six.patch

OBS-URL: https://build.opensuse.org/request/show/1041392
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=14
2022-12-09 10:53:29 +00:00
67cb83a903 Accepting request 971975 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/971975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=7
2022-04-22 19:54:39 +00:00
999f716567 Accepting request 971916 from home:bnavigator:branches:devel:languages:python:pytest
- Add remove-mock.patch because mock WAS required and is not pulled
  in anymore by something else -- gh#man-group/pytest-plugins#171

OBS-URL: https://build.opensuse.org/request/show/971916
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=12
2022-04-22 05:17:06 +00:00
0a985e1521 Accepting request 963387 from devel:languages:python:pytest
- Drop mock BuildRequires, it is not required.

OBS-URL: https://build.opensuse.org/request/show/963387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=6
2022-03-21 19:11:19 +00:00
be3dd0e97e - Drop mock BuildRequires, it is not required.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=10
2022-03-21 04:29:52 +00:00
759dd98b5b Accepting request 926333 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/926333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=5
2021-10-19 21:04:05 +00:00
c1c9fc7de6 Accepting request 925874 from home:bnavigator:branches:devel:languages:python:pytest
- Fix compatibikity with with Psycopg 2.9
  * pytest-plugins-pr186-fix-psycopg29.patch
  * gh#man-group/pytest-plugins#186

OBS-URL: https://build.opensuse.org/request/show/925874
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=9
2021-10-19 17:15:13 +00:00
711d99d939 Accepting request 889722 from devel:languages:python:pytest
- Skip the failing test test_init (gh#man-group/pytest-plugins#177)

OBS-URL: https://build.opensuse.org/request/show/889722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=4
2021-05-02 16:36:00 +00:00
62c4fbd37b - Skip the failing test test_init (gh#man-group/pytest-plugins#177)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=7
2021-05-01 10:31:56 +00:00
44a9067d4e Accepting request 810171 from devel:languages:python:pytest
- Remove pytest restriction as it seems to work with pytest5

OBS-URL: https://build.opensuse.org/request/show/810171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=3
2020-05-29 19:24:04 +00:00
Tomáš Chvátal
478b1d7560 - Package seems to work with pytest5 so do not restrict it
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=5
2020-05-29 09:59:02 +00:00
baf487dc84 Accepting request 759799 from devel:languages:python:pytest
- use pytest macro

OBS-URL: https://build.opensuse.org/request/show/759799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=2
2019-12-29 14:49:37 +00:00
bb049ba649 - use pytest macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=3
2019-12-28 17:15:52 +00:00
ae627693ed Accepting request 732122 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/732122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-server-fixtures?expand=0&rev=1
2019-09-26 18:37:58 +00:00
Tomáš Chvátal
3e898cf095 Accepting request 731890 from home:jayvdb:py-new
updated to be pytest < 5

OBS-URL: https://build.opensuse.org/request/show/731890
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=1
2019-09-20 09:59:50 +00:00