1
0

Compare commits

...

31 Commits

Author SHA256 Message Date
25df4848c0 Accepting request 1137248 from devel:languages:python
- update to 1.13.0:
  * Support Python 3.12

- Update to version 1.11.0
- Update to version 1.10.0
  * Correct the bytes v str problem
  * Fix pep8 errors in doc string

OBS-URL: https://build.opensuse.org/request/show/1137248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=29
2024-01-06 16:30:24 +00:00
cba21654fd - update to 1.13.0:
* Support Python 3.12
- Update to version 1.11.0
- Update to version 1.10.0
  * Correct the bytes v str problem
  * Fix pep8 errors in doc string

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=58
2024-01-06 13:24:59 +00:00
50937df455 Accepting request 1100515 from devel:languages:python
- Update to 1.12.1:
  * Pin urllib3 to < 2.0.0 (#70)
- Switch to pyproject macros

OBS-URL: https://build.opensuse.org/request/show/1100515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=28
2023-07-25 09:51:31 +00:00
6aa8af5e3d - Update to 1.12.1:
* Pin urllib3 to < 2.0.0 (#70)
- Switch to pyproject macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=56
2023-07-25 03:04:39 +00:00
fda6ea7ed2 Accepting request 1035266 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1035266
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=27
2022-11-12 16:41:08 +00:00
5c44c33031 Accepting request 1034942 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.11.0 
  * refer to pytest not py.test in tests (#69)
- Update to version 1.10.0
  * Correct handling of a environ keys in python2 (#66)
  * Accept urllib3 server_hostname keyword
  * Test by git hub actions (#64)
  * Merge pull request #63 from santosh653/master
  * Update .travis.yml

OBS-URL: https://build.opensuse.org/request/show/1034942
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=54
2022-11-11 13:26:48 +00:00
6b9dbb277c Accepting request 1009883 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1009883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=26
2022-10-12 16:24:30 +00:00
150972f0cf Accepting request 1009868 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.10.0 
  * No upstream changelog

OBS-URL: https://build.opensuse.org/request/show/1009868
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=52
2022-10-11 17:56:30 +00:00
be738ab1cd Accepting request 784840 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/784840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=25
2020-03-16 09:17:50 +00:00
Tomáš Chvátal
e78b3bb362 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=50
2020-03-14 08:33:47 +00:00
5cc9d3a988 Accepting request 770570 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/770570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=24
2020-02-07 14:53:44 +00:00
025388cb24 Accepting request 745987 from devel:languages:python
- Update to 1.9.0:
  * Fix with new httplib2 included upstream
- Remove patch httplib2.patch

OBS-URL: https://build.opensuse.org/request/show/745987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=23
2019-11-12 15:11:11 +00:00
102bd02d8a Accepting request 738595 from devel:languages:python
- Add patch to build with latest httplib2 releases:
  * httplib2.patch

OBS-URL: https://build.opensuse.org/request/show/738595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=22
2019-10-16 07:18:08 +00:00
b2185809fa Accepting request 705798 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/705798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=21
2019-06-01 07:46:41 +00:00
3a822f7e5e Accepting request 705258 from devel:languages:python
- Update to 1.8.1:
  * Fixes issues with latest urllib

OBS-URL: https://build.opensuse.org/request/show/705258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=20
2019-05-27 06:38:20 +00:00
19a65a8227 Accepting request 687077 from devel:languages:python
- Add back devel dependency to be able to build on SLE12SP4. Without
  it, the build fails with:
  ImportError: cannot import name HTTPSConnection

OBS-URL: https://build.opensuse.org/request/show/687077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=19
2019-03-21 08:53:36 +00:00
f87d0dbba0 Accepting request 682995 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/682995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=18
2019-03-11 10:15:13 +00:00
48314f6fb4 Accepting request 664988 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/664988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=17
2019-01-15 08:17:15 +00:00
627f0abbff Accepting request 654068 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=16
2018-12-13 18:45:05 +00:00
61ffba94ba Accepting request 508332 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/508332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=15
2017-07-11 06:25:08 +00:00
d277473dd1 Accepting request 495323 from devel:languages:python
- update to 1.5.0:
  * compatibility fixes

OBS-URL: https://build.opensuse.org/request/show/495323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=14
2017-07-04 11:40:50 +00:00
4ece6e0dfe Accepting request 431136 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/431136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=13
2016-09-30 13:33:45 +00:00
4e09d106d3 Accepting request 430641 from devel:languages:python
- update to 1.4.1
  * Correct the bytes v str problem 
  * Fix pep8 errors in doc string 
  * Move tests from the test dir into wsgi_intercept/tests

OBS-URL: https://build.opensuse.org/request/show/430641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=12
2016-09-28 13:04:53 +00:00
e33b00720d Accepting request 424399 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/424399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=11
2016-09-23 09:31:04 +00:00
ba2c42e033 Accepting request 357157 from devel:languages:python
- update to 1.1.2:
  * no changelog available

- update to 0.10.3:
  * bugfixes, no changelog available

OBS-URL: https://build.opensuse.org/request/show/357157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=10
2016-02-03 09:19:48 +00:00
38be2261c8 Accepting request 307815 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/307815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=9
2015-05-19 21:43:40 +00:00
Stephan Kulow
8ff7bca2d5 Accepting request 220966 from devel:languages:python
- Use py.test rather than nosetests, testsuite uses py.test specific features

OBS-URL: https://build.opensuse.org/request/show/220966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=7
2014-02-06 05:55:15 +00:00
Stephan Kulow
df4677ac99 Accepting request 220400 from devel:languages:python
- Added wsgi_intercept-disable-testbogusdomain.patch: Disable some tests
  on 12.3 where patching fails

- Update to version 0.6.1:
  + Better testing dependency structure
- Dropped patches:
  + 0001-Depend-on-requests-2.0.1.patch (merged upstream)

- Added 0001-Depend-on-requests-2.0.1.patch: Require requests>=2.0.1.
  Really a requirement

OBS-URL: https://build.opensuse.org/request/show/220400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=6
2014-02-02 06:39:08 +00:00
Stephan Kulow
f9a357db47 Accepting request 214252 from devel:languages:python
- Don't install testsuite globally
- Run testsuite
- Fix requirement list
- Recommend python-requests for the requests-based backend
  (don't recommend httplib2, it isn't any better than the stdlib
   module 'httplib' due to it's SSL insufficencies)

- remove excessive buildrequires that are not used due to
  tests being commented out

OBS-URL: https://build.opensuse.org/request/show/214252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=5
2014-01-20 06:55:50 +00:00
Stephan Kulow
c709783bda Accepting request 207077 from devel:languages:python
update (forwarded request 207076 from posophe)

OBS-URL: https://build.opensuse.org/request/show/207077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=4
2013-11-17 19:20:39 +00:00
Tomáš Chvátal
1929c141e7 Accepting request 204688 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wsgi_intercept?expand=0&rev=3
2013-10-25 09:36:23 +00:00
4 changed files with 55 additions and 18 deletions

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Sat Jan 6 13:24:02 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.13.0:
* Support Python 3.12
-------------------------------------------------------------------
Tue Jul 25 03:03:51 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.12.1:
* Pin urllib3 to < 2.0.0 (#70)
- Switch to pyproject macros
-------------------------------------------------------------------
Wed Nov 9 19:51:58 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 1.11.0
* refer to pytest not py.test in tests (#69)
- Update to version 1.10.0
* Correct handling of a environ keys in python2 (#66)
* Accept urllib3 server_hostname keyword
* Test by git hub actions (#64)
* Merge pull request #63 from santosh653/master
* Update .travis.yml
-------------------------------------------------------------------
Tue Oct 11 17:19:22 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 1.10.0
* No upstream changelog
-------------------------------------------------------------------
Sat Mar 14 08:33:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Thu Feb 6 12:42:53 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
@@ -86,8 +123,8 @@ Wed Sep 28 04:53:44 UTC 2016 - tbechtold@suse.com
Tue Sep 27 21:31:45 UTC 2016 - dmueller@suse.com
- update to 1.4.1
* Correct the bytes v str problem
* Fix pep8 errors in doc string
* Correct the bytes v str problem
* Fix pep8 errors in doc string
* Move tests from the test dir into wsgi_intercept/tests
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-wsgi_intercept
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-wsgi_intercept
Version: 1.9.2
Version: 1.13.0
Release: 0
Summary: Library for installing a WSGI application in place of a real URI for testing
License: MIT
@@ -26,20 +25,19 @@ URL: https://github.com/cdent/python3-wsgi-intercept
Source: https://files.pythonhosted.org/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module httplib2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 2.4}
BuildRequires: %{python_module requests >= 2.0.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module urllib3 >= 1.11.0}
BuildRequires: %{python_module urllib3 >= 1.11.0 with %python-urllib3 < 2}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
BuildArch: noarch
%if 0%{?_no_weakdeps}
Requires: python-requests >= 2.0.1
%else
Requires: python-urllib3 < 2
Recommends: python-requests >= 2.0.1
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -53,11 +51,11 @@ can avoid spawning multiple processes or threads to test your Web app.
%setup -q -n wsgi_intercept-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
rm -r %{buildroot}%{python_sitelib}/wsgi_intercept/tests
%pyproject_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/wsgi_intercept/tests
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -65,7 +63,9 @@ export WSGI_INTERCEPT_SKIP_NETWORK=true
%pytest
%files %{python_files}
%{python_sitelib}/wsgi_intercept-%{version}-py%{py_ver}.egg-info
%doc README
%license LICENSE
%{python_sitelib}/wsgi_intercept
%{python_sitelib}/wsgi_intercept-%{version}.dist-info
%changelog

View File

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

View File

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