76 Commits

Author SHA256 Message Date
d7caaf1f31 Accepting request 1317338 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1317338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=31
2025-11-12 20:16:28 +00:00
0ac6659d91 4.2.0
* Typing enhancements and performance optimizations
  * Fix reproducible builds of docs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=72
2025-11-12 13:50:54 +00:00
d568f7e102 Accepting request 1314117 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1314117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=30
2025-10-29 20:05:45 +00:00
8bba6cd630 - Update to 4.1.0
* CPython 3.14 is now fully supported. (#2413)
  * Although the Falcon 4.x series is only guaranteed to support Python 3.10+,
    this release still supports 3.8 & 3.9 at runtime using the pure Python wheel.
  * Falcon 4.2 is expected to drop the end-of-life Python 3.8 completely (but
    runtime support will continue for 3.9 on a best effort basis).
  * StaticRoute now renders Etag headers. It also checks If-None-Match in requests
    and returns HTTP 304 response if appropriate. (#2243)
  * StaticRoute now sets the Last-Modified header when serving static files. The
    improved implementation also checks the value of the If-Modified-Since header,
    and renders an HTTP 304 response when the requested file has not been modified. (#2244)
  * Similar to create_environ(), the create_scope() testing helper now preserves the
    raw URI path, and propagates it to the created ASGI connection scope as the
    raw_path byte string (according to the ASGI specification). (#2262)
  * Two new media_type constants, falcon.MEDIA_CSV and falcon.MEDIA_PARQUET, were
    added in order to provide better support for Python data analysis applications
    out of the box. (#2335)
  * Support for allowing cross-origin private network access was added to the built-in
    CORSMiddleware. The new feature is off by default, and can be enabled by passing
    the keyword argument allow_private_network=True to CORSMiddleware during
    initialization. (#2381)
  * The falcon.secure_filename() utility function can now ensure that the length of the
    sanitized filename does not exceed the requested limit (passed via the max_length
    argument). In addition, a new option, max_secure_filename_length, was added to
    MultipartParseOptions in order to automatically populate this argument when
    referencing a body part’s secure_filename. (#2420)
  * The unset_cookie() method now accepts a same_site parameter (with underscore) for
    consistency with set_cookie(). The previous samesite parameter (without underscore)
    is now deprecated (referencing it will emit a deprecation warning). (#2453)
  * A new method, __rich__, has been added to falcon.testing.Result for facilitating

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=70
2025-10-28 16:25:43 +00:00
15db1c7b10 Accepting request 1300396 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1300396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=29
2025-08-20 11:26:19 +00:00
a2b3838aaf OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=68 2025-08-20 06:49:35 +00:00
a6380da2fc - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=67
2025-08-19 12:25:48 +00:00
0d376a7d0e Accepting request 1291282 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=28
2025-07-09 15:27:45 +00:00
eb5851ecc2 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=65
2025-07-08 13:24:23 +00:00
828e29922b Accepting request 1256063 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1256063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=27
2025-03-26 20:19:44 +00:00
322d819fee - Add websockets.patch to fix test failure
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=63
2025-03-25 20:52:57 +00:00
03cdd46458 Accepting request 1236160 from devel:languages:python
- Build doc package just for tumbleweed to remove
  pydata-sphinx-theme requirement

OBS-URL: https://build.opensuse.org/request/show/1236160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=26
2025-01-12 10:14:02 +00:00
823c2f6e8e - Build doc package just for tumbleweed to remove
pydata-sphinx-theme requirement

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=61
2025-01-09 12:05:38 +00:00
ec693d0a80 Accepting request 1223760 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1223760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=25
2024-11-13 14:28:29 +00:00
47f9b5d457 - Update to 4.0.2
* Running Mypy on code that uses parts of falcon.testing would
    previously lead to errors like:
     "Name "falcon.testing.TestClient" is not defined"
    This has been fixed by explicitly exporting the names that
    are imported into the falcon.testing namespace. (#2387)
  * The printable PDF version of our documentation was enabled
    on Read the Docs. (#2365)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=59
2024-11-12 17:08:27 +00:00
5edd96e9d9 Accepting request 1220150 from devel:languages:python
- Update to 4.0.1:
  * Overview
    + CPython 3.11 - 3.13 is now fully supported.
    + End-of-life Python 3.5, 3.6 & 3.7 are no longer supported.
    + End-of-life Python 3.8 is no longer actively supported.
    + Type checking support was introduced.
    + Falcon is no longer vendoring the python-mimeparse library.
    + A number of undocumented internal helpers were renamed to start with an
      underscore.
    + A number of previously deprecated methods, attributes and classes have
      now been removed.
    + We decided, on the other hand, to keep the deprecated falcon.API alias
      until Falcon 5.0.
    + The deprecated api_helpers was removed in favor of the app_helpers
      module.
    + The function falcon.http_date_to_dt now validates HTTP dates to have
      the correct timezone set. It now also returns timezone-aware
      datetime.datetime objects.
    + setup.cfg was dropped in favor of consolidating all static project
      configuration in pyproject.toml
  * New & Improved
    + A new path converter falcon.routing.PathConverter
      capable of matching segments that include / was added.
    + Similar to the existing falcon.routing.IntConverter, a new
      falcon.routing.FloatConverter has been added, allowing to convert
      path segments to float.
    + A new method falcon.Request.get_header_as_int was implemented.
    + A new property, falcon.Request.headers_lower, was added to provide a
      unified, self-documenting way to get a copy of all request headers with
      lowercase names to facilitate case-insensitive matching.

OBS-URL: https://build.opensuse.org/request/show/1220150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=24
2024-11-02 15:11:54 +00:00
c74f12e20f - Update to 4.0.1:
* Overview
    + CPython 3.11 - 3.13 is now fully supported.
    + End-of-life Python 3.5, 3.6 & 3.7 are no longer supported.
    + End-of-life Python 3.8 is no longer actively supported.
    + Type checking support was introduced.
    + Falcon is no longer vendoring the python-mimeparse library.
    + A number of undocumented internal helpers were renamed to start with an
      underscore.
    + A number of previously deprecated methods, attributes and classes have
      now been removed.
    + We decided, on the other hand, to keep the deprecated falcon.API alias
      until Falcon 5.0.
    + The deprecated api_helpers was removed in favor of the app_helpers
      module.
    + The function falcon.http_date_to_dt now validates HTTP dates to have
      the correct timezone set. It now also returns timezone-aware
      datetime.datetime objects.
    + setup.cfg was dropped in favor of consolidating all static project
      configuration in pyproject.toml
  * New & Improved
    + A new path converter falcon.routing.PathConverter
      capable of matching segments that include / was added.
    + Similar to the existing falcon.routing.IntConverter, a new
      falcon.routing.FloatConverter has been added, allowing to convert
      path segments to float.
    + A new method falcon.Request.get_header_as_int was implemented.
    + A new property, falcon.Request.headers_lower, was added to provide a
      unified, self-documenting way to get a copy of all request headers with
      lowercase names to facilitate case-insensitive matching.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=57
2024-11-02 06:34:21 +00:00
88eaa1b6d7 Accepting request 1163999 from devel:languages:python
- Remove skipping asgi for Python 3.9.
- Add patch support-new-uvicorn.patch:
  * Support new uvicorn, which now propagates its exit code.

OBS-URL: https://build.opensuse.org/request/show/1163999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=23
2024-04-02 14:43:47 +00:00
ce9bc64cb2 - Remove skipping asgi for Python 3.9.
- Add patch support-new-uvicorn.patch:
  * Support new uvicorn, which now propagates its exit code.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=55
2024-04-02 01:45:45 +00:00
918193c94f Accepting request 1159647 from devel:languages:python
- Ignore "tests/asgi" for python 3.9, some ws tests stalls with this
  python version

OBS-URL: https://build.opensuse.org/request/show/1159647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=22
2024-03-20 20:16:34 +00:00
416b71033d - Ignore "tests/asgi" for python 3.9, some ws tests stalls with this
python version

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=53
2024-03-19 18:34:03 +00:00
42a489ba62 Accepting request 1144824 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1144824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=21
2024-02-07 17:50:14 +00:00
32936f13fe Accepting request 1144698 from home:bnavigator:branches:devel:languages:python
- Update source file
- Replace deprecated %patch0
- Move to PEP517
- Remove old TW python36 flavor directives
- Install examples into doc package and properly fdup

OBS-URL: https://build.opensuse.org/request/show/1144698
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=51
2024-02-07 08:41:30 +00:00
236d229baf Accepting request 1144006 from home:bnavigator:branches:devel:languages:python
- Update to 3.1.3
  * This is a minor bugfix release that only pins the
    pytest-asyncio test dependency in order to prevent an
    incompatible version from interfering with the build workflow.
  * This release is otherwise identical to Falcon 3.1.2.
- Update to 3.1.2
  ## Summary
  * This is a minor point release fixing a couple of high impact
    bugs, as well as publishing binary wheels for the recently
    released CPython 3.12.
  ## Changes to Supported Platforms
  * Falcon is now supported (including binary wheels) on CPython
    3.12. A couple of remaining stdlib deprecations from 3.11 and
    3.12 will be addressed in Falcon 4.0.
  * As with the previous release, Python 3.5 & 3.6 remain
    deprecated and will no longer be supported in Falcon 4.0.
  * EOL Python 3.7 will no longer be actively supported in 4.0, but
    the framework should still continue to install from source. We
    may remove the support for 3.7 altogether later in the 4.x
    series if we are faced with incompatible ecosystem changes in
    typing, Cython, etc.
  ## Fixed
  * Some essential files were unintentionally omitted from the
    source distribution archive, rendering it unsuitable to run the
    test suite off. This has been fixed, and the sdist tarball
    should now be usable as a base for packaging Falcon in OS
    distributions. (#2051)
  * WebSocket implementation has been fixed to properly handle
    HTTPError and HTTPStatus exceptions raised by custom error
    handlers. The WebSocket connection is now correctly closed with

OBS-URL: https://build.opensuse.org/request/show/1144006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=50
2024-02-05 12:43:31 +00:00
5ddcfad4ee Accepting request 1140005 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1140005
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=20
2024-01-19 22:03:06 +00:00
968ffdf9a9 Accepting request 1139652 from home:mcalabkova:branches:openSUSE:Backports:SLE-15-SP6:mailman
- remove unneeded build dependency python-ujson

OBS-URL: https://build.opensuse.org/request/show/1139652
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=48
2024-01-19 18:44:32 +00:00
20ad484f04 Accepting request 1136656 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1136656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=19
2024-01-04 14:58:47 +00:00
0dc51594f5 Accepting request 1136552 from home:jsrain:branches:devel:languages:python
- removed unneeded build dependency on python3-pygments-style-railscasts

OBS-URL: https://build.opensuse.org/request/show/1136552
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=46
2024-01-03 18:39:03 +00:00
f450c88c84 Accepting request 1092385 from devel:languages:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=18
2023-06-12 13:26:23 +00:00
c961cd361c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=44 2023-06-11 20:11:39 +00:00
d975523fd6 Accepting request 1092311 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=43
2023-06-11 20:11:16 +00:00
32ade3367c Accepting request 1058834 from devel:languages:python
- Update to 3.1.1:
  Falcon 3.1.1 is a minor point release addressing a couple of high impact
  bugs, and enabling the framework on the recently released CPython 3.11.
- 3.1.0
  This release contains several refinements to request validation and error
  handling, along with some tweaks to response handling for static and
  downloadable files.
  Due to popular demand, TestClient and ASGIConductor now expose convenience
  shorthand aliases for the simulate_* methods, i.e., simulate_get() is now
  also available as get(), etc.
  Some important bugs were also fixed to ensure applications properly clean up
  response streams and do not hang when reading request bodies that are
  streamed using chunked transfer encoding.
  This release also adds support for CPython 3.10 and deprecates CPython 3.6.

OBS-URL: https://build.opensuse.org/request/show/1058834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=17
2023-01-17 16:35:27 +00:00
d260e8e312 - Update to 3.1.1:
Falcon 3.1.1 is a minor point release addressing a couple of high impact
  bugs, and enabling the framework on the recently released CPython 3.11.
- 3.1.0
  This release contains several refinements to request validation and error
  handling, along with some tweaks to response handling for static and
  downloadable files.
  Due to popular demand, TestClient and ASGIConductor now expose convenience
  shorthand aliases for the simulate_* methods, i.e., simulate_get() is now
  also available as get(), etc.
  Some important bugs were also fixed to ensure applications properly clean up
  response streams and do not hang when reading request bodies that are
  streamed using chunked transfer encoding.
  This release also adds support for CPython 3.10 and deprecates CPython 3.6.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=41
2023-01-16 12:58:40 +00:00
6dffcfba4c Accepting request 941333 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/941333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=16
2021-12-18 19:30:13 +00:00
7fd8da40a1 Accepting request 941223 from home:pgajdos:python
- do not require pytest-runner for build, not required

OBS-URL: https://build.opensuse.org/request/show/941223
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=40
2021-12-17 22:14:21 +00:00
6be06fe834 Accepting request 933386 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/933386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=15
2021-11-24 22:54:23 +00:00
0a511e6cb3 Accepting request 933340 from home:bnavigator:branches:devel:languages:python
- Don't restrict to primary python3 flavor. Other packages depend
  on this.
- Update requirements
  * The only runtime deps have been removed in version 2.0
  * Test requirements from examples are obsolete
- Implement some python packaging best practises:
  * Check for version in dist metadata
  * uninstall alternative only takes master (there was even a typo)

OBS-URL: https://build.opensuse.org/request/show/933340
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=39
2021-11-24 06:19:01 +00:00
19af48a023 Accepting request 933137 from devel:languages:python
- Don't create %%{python_sitelib}/examples directory, that' just
  evil.

- Update to version 3.0.1
  This is a minor point release to take care of a couple of bugs
  that we did not catch for 3.0.0.
  - The api_helpers module was re-added, since it was renamed
    to app_helpers (and effectively removed) without announcing
    a corresponding breaking change. This module is now
    considered deprecated, and will be removed in a future Falcon
    version.
  - ASGI HTTP headers were treated as UTF-8 encoded, not
    taking the incompatibility with WSGI and porting of WSGI
    applications into consideration. This was fixed, and ASGI
    headers are now decoded and encoded as ISO-8859-1.

OBS-URL: https://build.opensuse.org/request/show/933137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=14
2021-11-22 22:04:00 +00:00
fb232c1af5 - Don't create %%{python_sitelib}/examples directory, that' just
evil.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=38
2021-11-22 16:25:42 +00:00
9e2be2bdc5 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=37
2021-11-18 17:55:49 +00:00
6504e043e8 Accepting request 932054 from home:gladiac:mailman3
- Update to version 3.0.1
  * https://falcon.readthedocs.io/en/stable/changes/3.0.1.html

OBS-URL: https://build.opensuse.org/request/show/932054
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=36
2021-11-18 17:53:58 +00:00
7f66288eb1 Accepting request 785772 from devel:languages:python
- No longer build for Python 2 given not all dependencies build for it.

OBS-URL: https://build.opensuse.org/request/show/785772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=13
2020-03-17 12:11:13 +00:00
0f43b44b45 - No longer build for Python 2 given not all dependencies build for it.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=34
2020-03-17 04:49:11 +00:00
27bb1f7bdc Accepting request 709105 from devel:languages:python
- Drop python-mujson BuildRequires

- Drop %patch1 which is no longer available
- Drop python-rapidjson dependency again

- Add dependency over the rapidjson and remove patch:
  * python-falcon-no-rapidjson.patch

- version update to 2.0.0
  * many changes, see CHANGES.rst
- deleted patches
  - remove_failing_test.patch (not needed)
- added patches
  rapidjson implementation python binding not available.
  + python-falcon-no-rapidjson.patch
  github pygments style is not available
  + python-falcon-sphinx-pygments-style.patch

OBS-URL: https://build.opensuse.org/request/show/709105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=12
2019-06-12 11:17:15 +00:00
d08dc5978f - Drop python-mujson BuildRequires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=32
2019-06-11 10:02:54 +00:00
045ef9e7c9 - Drop %patch1 which is no longer available
- Drop python-rapidjson dependency again

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=31
2019-06-11 09:20:45 +00:00
Tomáš Chvátal
b22c8d926d - Add dependency over the rapidjson and remove patch:
* python-falcon-no-rapidjson.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=30
2019-06-06 09:27:16 +00:00
Tomáš Chvátal
058b2352e0 Accepting request 704723 from home:pgajdos
- version update to 2.0.0
  * many changes, see CHANGES.rst
- deleted patches
  - remove_failing_test.patch (not needed)
- added patches
  rapidjson implementation python binding not available.
  + python-falcon-no-rapidjson.patch
  github pygments style is not available
  + python-falcon-sphinx-pygments-style.patch

OBS-URL: https://build.opensuse.org/request/show/704723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=29
2019-05-22 12:49:21 +00:00
29bf1c24ab Accepting request 598822 from devel:languages:python
- use %license macro (forwarded request 598821 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/598822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-falcon?expand=0&rev=11
2018-04-20 15:31:45 +00:00
b038612be1 Accepting request 598821 from home:mimi_vx:branches:devel:languages:python
- use %license macro

OBS-URL: https://build.opensuse.org/request/show/598821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=27
2018-04-19 22:01:53 +00:00