The NetBSD Project

CVS log for pkgsrc/devel/py-test-httpserver/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-test-httpserver

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Feb 15 13:23:58 2026 UTC (9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, HEAD
Diff to: previous 1.13: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.13: +2 -2 lines
py-test-httpserver: updated to 1.1.5

1.1.5

New Features

- Add ``bake()`` method to ``HTTPServer`` for creating pre-configured
  request expectation proxies (``BakedHTTPServer``). This allows sharing
  common keyword arguments (e.g. ``method``, ``headers``) across multiple
  ``expect_request()`` calls with last-wins merging semantics.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Feb 12 11:11:03 2026 UTC (9 months ago) by adam
Branches: MAIN
Diff to: previous 1.12: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.12: +2 -3 lines
py-test-httpserver: updated to 1.1.4

1.1.4

New Features

- More robust server startup by checking server readiness (disabled by
  default).

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Sep 28 19:40:17 2025 UTC (13 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.11: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.11: +3 -2 lines
py-test-httpserver: fix for latest poetry-core

Bump PKGREVISION.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Apr 20 12:14:18 2025 UTC (18 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.10: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.10: +2 -2 lines
py-test-httpserver: updated to 1.1.3

1.1.3

Bug Fixes
- Run server threads with daemon flag, preventing shutdown issues.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Feb 25 13:08:30 2025 UTC (20 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.9: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.9: +2 -2 lines
py-test-httpserver: updated to 1.1.2

1.1.2

Deprecation Notes

- Python versions earlier than 3.9 have been deprecated in order to make the
  code more type safe. Python 3.8 has reached EOL on 2024-10-07.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jan 22 08:24:51 2025 UTC (21 months, 3 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.8: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.8: +2 -2 lines
py-test-httpserver: updated to 1.1.1

1.1.1

New Features

- Add a new ``expect`` method to the ``HTTPServer`` object which allows
  developers to provide their own request matcher object.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Aug 20 13:20:42 2024 UTC (2 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.7: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.7: +3 -5 lines
py-test-httpserver: updated to 1.1.0

1.1.0

Bug Fixes

- Fixed an issue related to the leak of httpserver state between the tests
  when httpserver is destructed before the other fixtures.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jul 22 04:08:39 2024 UTC (2 years, 3 months ago) by adam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
py-test-httpserver: updated to 1.0.12

1.0.12

Bug Fixes

- Fix pytest-httpserver's own tests related to log querying. No functional
  changes in pytest-httpserver code itself.

Revision 1.6: download - view: text, markup, annotated - [selected for diffs]
Sat Jul 20 06:09:39 2024 UTC (2 years, 3 months ago) by adam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
py-test-httpserver: updated to 1.0.11

1.0.11

New Features

- Hooks API
- New methods added to query for matching requests in the log.
- Threading support to serve requests in parallel

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Feb 28 10:31:01 2024 UTC (2 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.4: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.4: +2 -2 lines
py-test-httpserver: updated to 1.0.10

1.0.10

New Features

- When there's no handler for the request, add more details to the response
  sent by the server about the request to help debugging.

Other Notes

- Use ruff for linting. It includes some source code changes which should not
  introduce functional changes, or API changes.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Feb 14 16:26:07 2024 UTC (2 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.3: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.3: +6 -10 lines
py-test-httpserver: updated to 1.0.9

1.0.9
New Features

- Add ``__repr__`` to ``RequestHandler`` object so when it is compared (eg. with
  the ``log`` attribute of the server) it will show the matcher parameters.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon May 29 12:27:52 2023 UTC (3 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.2: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.2: +2 -2 lines
py-test-httpserver: updated to 1.0.8

1.0.8

Bug Fixes
- Version 1.0.7 has been released with incorrect dependencies. This is fixed now.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu May 18 08:46:37 2023 UTC (3 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.1: preferred, colored; selected 1.6: preferred, colored
Changes since revision 1.1: +10 -9 lines
py-test-httpserver: updated to 1.0.7

1.0.7
=====

Upgrade Notes
-------------
- With werkzeug 2.3.x the headers type has been updated to not allow integers as header values. This restriction followed up in pytest-httpserver.


Deprecation Notes
-----------------
- Python versions earlier than 3.8 have been deprecated in order to support
  the latest werkzeug. Users using 3.7 or earlier python may use
  pytest-httpserver with earlier werkzeug versions but tests are no longer run
  for these python versions.


Bug Fixes
---------
- Type hinting for header_value_matcher has been fixed. From now, specifying a
  callable as ``Callable[[str, Optional[str], str], bool]`` will be accepted
  also. Providing a ``HeaderValueMatcher`` object will be also accepted as
  before, as it provides the same callable signature.

- Fix Werkzeug deprecation warning about ``parse_authorization_header`` call.
  Replace ``parse_authorization_header`` with ``Authorization.from_header`` as
  suggested. This fix should not introduce any functional change for the
  users.

- Fix Werkzeug deprecation warning about ``werkzeug.urls.url_decode`` call. This
  call has been changed to ``urllib.parse.parse_qsl`` in the implementation.
  This fix should not introduce any functional change for the users.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Dec 6 20:34:05 2022 UTC (3 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: selected 1.6: preferred, colored
devel/py-test-httpserver: import py-test-httpserver-1.0.6

This library is designed to help to test http clients without
contacting the real http server. In other words, it is a fake http
server which is accessible via localhost can be started with the
pre-defined expected http requests and their responses.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>