1
0

28 Commits

Author SHA256 Message Date
586e9fb233 Accepting request 1274316 from devel:languages:python:flask
- Update to 5.0.1:
  * Fix minor typos
  * Migrate packaging and environment management to use uv
  * Fix release pipeline
  * Always use trusted publishing
  * Workaround license publishing issue
  * Fix packaging: missing source files
- Switch to pyproject macros.
- Switch to GitHub tarball to continue running the testsuite.
- Support upper case and normalized metadata directory name.
- Patch version number, issue filed upstream.

OBS-URL: https://build.opensuse.org/request/show/1274316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=13
2025-05-05 20:27:32 +00:00
4691dc39d1 - Update to 5.0.1:
* Fix minor typos
  * Migrate packaging and environment management to use uv
  * Fix release pipeline
  * Always use trusted publishing
  * Workaround license publishing issue
  * Fix packaging: missing source files
- Switch to pyproject macros.
- Switch to GitHub tarball to continue running the testsuite.
- Support upper case and normalized metadata directory name.
- Patch version number, issue filed upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=28
2025-05-05 05:40:02 +00:00
b803aa76ec Accepting request 1204119 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/1204119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=12
2024-09-27 15:11:44 +00:00
50df489c3f - version update to 5.0.0:
* Breaking: Change default to disable private network access by 
    @corydolphin in #368. This effectively resolves 
    GHSA-hxwh-jpp2-84pm https://osv.dev/vulnerability/PYSEC-2024-71

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=26
2024-09-27 10:15:03 +00:00
f69a8a7b6a Accepting request 1197029 from devel:languages:python:flask
Forwarded request #1194158 from yeey

- version update to 4.0.1
    * Address CVE-2024-1681 which is a log injection vulnerability
      when the log level is set to debug by @aneshujevic in :issue:`351`

OBS-URL: https://build.opensuse.org/request/show/1197029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=11
2024-08-29 13:43:14 +00:00
fecd1d8a67 Accepting request 1114847 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/1114847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=10
2023-10-04 20:30:46 +00:00
8f7aa4ce82 Accepting request 1114805 from home:pgajdos:python
- version update to 4.0.0
  * Remove support for Python versions older than 3.8 by @WAKayser in #330
  * Add GHA tooling by @corydolphin in #331

OBS-URL: https://build.opensuse.org/request/show/1114805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=22
2023-10-02 15:34:04 +00:00
a124b679bf Accepting request 1093054 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/1093054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=9
2023-06-14 14:30:35 +00:00
fe838695dc Accepting request 1092828 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092828
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=20
2023-06-14 06:45:11 +00:00
8fb05acb39 Accepting request 944538 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/944538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=8
2022-01-07 11:46:11 +00:00
17a4c93e8e Accepting request 944514 from home:bnavigator:branches:devel:languages:python
- Six is required unconditionally

OBS-URL: https://build.opensuse.org/request/show/944514
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=19
2022-01-06 21:10:44 +00:00
1b41d9af65 Accepting request 928895 from devel:languages:python:flask
- Use pytest to run the testsuite.

OBS-URL: https://build.opensuse.org/request/show/928895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=7
2021-11-03 16:26:00 +00:00
846f662e40 - Use pytest to run the testsuite.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=18
2021-11-03 04:03:28 +00:00
80fed9f1cc Accepting request 896574 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/896574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=6
2021-06-01 08:40:05 +00:00
5d9d00edf3 Accepting request 882933 from home:apersaud:branches:devel:languages:python:flask
update to latest version

OBS-URL: https://build.opensuse.org/request/show/882933
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=16
2021-06-01 06:50:49 +00:00
db28adab21 Accepting request 831046 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/831046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=5
2020-09-01 18:10:29 +00:00
d07c8f127b Accepting request 831035 from home:alarrosa:branches:devel:languages:python:flask
- Update to 3.0.9:
  * Escape path before evaluating resource rules. Prior to this,
    flask-cors incorrectly evaluated CORS resource matching before
    path expansion. E.g. "/api/../foo.txt" would incorrectly match
    resources for "/api/*" whereas the path actually expands
    simply to "/foo.txt" (CVE-2020-25032, boo#1175986)
- Remove patch which is no longer required when using (at least)
  Flask 1.1, which is the case in Factory:
  * 0001-Disable-ACL_ORIGIN-check.patch

OBS-URL: https://build.opensuse.org/request/show/831035
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=14
2020-09-01 10:28:56 +00:00
2137857fb0 Accepting request 742134 from devel:languages:python:flask
- Add patch 0001-Disable-ACL_ORIGIN-check.patch to disable failing 
  ACL_ORIGIN check in test (boo#1154808)

OBS-URL: https://build.opensuse.org/request/show/742134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=4
2019-10-23 13:54:38 +00:00
Petr Cervinka
b5d188ee88 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=12 2019-10-23 12:21:26 +00:00
Petr Cervinka
a431857248 Accepting request 741992 from home:czerw:branches:devel:languages:python:flask
- Add patch to disable failing ACL_ORIGIN check in test (boo#1154808)

OBS-URL: https://build.opensuse.org/request/show/741992
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=11
2019-10-23 08:48:37 +00:00
3a34ccc5c9 Accepting request 709898 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/709898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=3
2019-06-14 18:42:33 +00:00
Petr Cervinka
e5f55b9368 Accepting request 708780 from home:apersaud:branches:devel:languages:python:flask
update to latest version

OBS-URL: https://build.opensuse.org/request/show/708780
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=9
2019-06-14 07:18:00 +00:00
0f99209490 Accepting request 648443 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/648443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=2
2018-11-13 16:00:09 +00:00
4b58205e6e Accepting request 648367 from home:apersaud:branches:devel:languages:python:flask
update to latest version

OBS-URL: https://build.opensuse.org/request/show/648367
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=7
2018-11-12 11:09:44 +00:00
a81f38a594 Accepting request 623401 from devel:languages:python:flask
A Flask extension adding a decorator for CORS support

OBS-URL: https://build.opensuse.org/request/show/623401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=1
2018-07-19 20:55:12 +00:00
221011b5f4 Accepting request 623244 from home:alarrosa:branches:devel:languages:python:flask
- Require python-six in Leap 42.3 to fix build

OBS-URL: https://build.opensuse.org/request/show/623244
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=3
2018-07-17 12:25:47 +00:00
Tomáš Chvátal
788e7c3898 - Enable testsuite
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=2
2018-07-16 12:04:38 +00:00
Tomáš Chvátal
23af822628 Accepting request 623119 from home:alarrosa:branches:devel:languages:python
New package python-Flask-Cors

OBS-URL: https://build.opensuse.org/request/show/623119
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=1
2018-07-16 12:02:21 +00:00
5 changed files with 39 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f268522fcb2f73e2ecdde1ef45e2fd5c71cc48fe03cffb4b441c6d1b40684eb0
size 29934

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eeb69b342142fdbf4766ad99357a7f3876a2ceb77689dc10ff912aac06c389e4
size 30306

3
flask_cors-5.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb1d01eb16187b945856fc207980b3c1c637ed7e47e29a12d63d7aecf937d5fe
size 87364

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon May 5 05:39:37 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 5.0.1:
* Fix minor typos
* Migrate packaging and environment management to use uv
* Fix release pipeline
* Always use trusted publishing
* Workaround license publishing issue
* Fix packaging: missing source files
- Switch to pyproject macros.
- Switch to GitHub tarball to continue running the testsuite.
- Support upper case and normalized metadata directory name.
- Patch version number, issue filed upstream.
-------------------------------------------------------------------
Wed Sep 25 17:41:21 UTC 2024 - Caroline Sena <caroline.sena@suse.com>
- version update to 5.0.0:
* Breaking: Change default to disable private network access by
@corydolphin in #368. This effectively resolves
GHSA-hxwh-jpp2-84pm https://osv.dev/vulnerability/PYSEC-2024-71
-------------------------------------------------------------------
Tue Aug 13 17:14:40 UTC 2024 - Guang Yee <gyee@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Flask-Cors
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,21 @@
%{?sle15_python_module_pythons}
Name: python-Flask-Cors
Version: 4.0.1
Version: 5.0.1
Release: 0
Summary: A Flask extension adding a decorator for CORS support
License: MIT
URL: https://github.com/corydolphin/flask-cors
Source: https://files.pythonhosted.org/packages/source/F/Flask-Cors/flask_cors-%{version}.tar.gz
Source: https://github.com/corydolphin/flask-cors/archive/refs/tags/%{version}.tar.gz#/flask_cors-%{version}.tar.gz
BuildRequires: %{python_module Flask >= 0.9}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Flask >= 0.9
Requires: python-Werkzeug >= 0.7
BuildArch: noarch
%python_subpackages
@@ -38,21 +41,24 @@ A Flask extension for handling Cross Origin Resource Sharing (CORS),
making cross-origin AJAX possible.
%prep
%setup -q -n flask_cors-%{version}
%setup -q -n flask-cors-%{version}
# https://github.com/corydolphin/flask-cors/issues/387
sed -ie 's/"0.0.1"$/"%{version}"/' pyproject.toml
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/flask_cors
%{python_sitelib}/Flask_Cors-%{version}*-info
%{python_sitelib}/[Ff]lask_[Cc]ors-%{version}.dist-info
%changelog