python-Flask-Security-Too/fix-dependencies.patch
Tomáš Chvátal 01ef32b8cc Accepting request 805559 from home:alarrosa:branches:devel:languages:python:flask
- Decrease dependencies which aren't really required so we can build
  in SLE/Leap:
  * Werkzeug 0.15.5 requirement decreased to 0.14.1
  * cryptography 2.3.1 requirement decreased to 2.1.4
  * bcrypt 3.1.5 requirement decreased to 3.1.4
  * peewee 3.11.2 requirement decreased to 3.7.1
  * Remove python-pony requirement
- Add patch that applies previous dependency changes:
  * fix-dependencies.patch

OBS-URL: https://build.opensuse.org/request/show/805559
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Security-Too?expand=0&rev=8
2020-05-14 10:21:18 +00:00

150 lines
3.5 KiB
Diff

Index: Flask-Security-Too-3.4.2/setup.py
===================================================================
--- Flask-Security-Too-3.4.2.orig/setup.py
+++ Flask-Security-Too-3.4.2/setup.py
@@ -14,20 +14,19 @@ with io.open("flask_security/__init__.py
tests_require = [
"Flask-Mongoengine>=0.9.5",
- "peewee>=3.11.2",
+ "peewee>=3.7.1",
"Flask-SQLAlchemy>=2.3",
"argon2_cffi>=19.1.0",
- "bcrypt>=3.1.5",
+ "bcrypt>=3.1.4",
"cachetools>=3.1.0",
"check-manifest>=0.25",
"coverage>=4.5.4",
- "cryptography>=2.3.1",
+ "cryptography>=2.1.4",
"isort>=4.2.2",
"mock>=1.3.0",
"mongoengine>=0.15.3",
"mongomock>=3.14.0",
"msgcheck>=2.9",
- "pony>=0.7.11",
"phonenumberslite>=8.11.1",
"psycopg2>=2.8.4",
"pydocstyle>=1.0.0",
@@ -41,7 +40,7 @@ tests_require = [
"pytest>=3.5.1",
"sqlalchemy>=1.2.6",
"sqlalchemy-utils>=0.33.0",
- "werkzeug>=0.15.5",
+ "werkzeug>=0.14.1",
"zxcvbn~=4.4.28",
]
Index: Flask-Security-Too-3.4.2/Flask_Security_Too.egg-info/requires.txt
===================================================================
--- Flask-Security-Too-3.4.2.orig/Flask_Security_Too.egg-info/requires.txt
+++ Flask-Security-Too-3.4.2/Flask_Security_Too.egg-info/requires.txt
@@ -13,20 +13,19 @@ Pallets-Sphinx-Themes>=1.2.0
Sphinx>=1.8.5
sphinx-issues>=1.2.0
Flask-Mongoengine>=0.9.5
-peewee>=3.11.2
+peewee>=3.7.1
Flask-SQLAlchemy>=2.3
argon2_cffi>=19.1.0
-bcrypt>=3.1.5
+bcrypt>=3.1.4
cachetools>=3.1.0
check-manifest>=0.25
coverage>=4.5.4
-cryptography>=2.3.1
+cryptography>=2.1.4
isort>=4.2.2
mock>=1.3.0
mongoengine>=0.15.3
mongomock>=3.14.0
msgcheck>=2.9
-pony>=0.7.11
phonenumberslite>=8.11.1
psycopg2>=2.8.4
pydocstyle>=1.0.0
@@ -40,26 +39,25 @@ pytest-mongo>=1.2.1
pytest>=3.5.1
sqlalchemy>=1.2.6
sqlalchemy-utils>=0.33.0
-werkzeug>=0.15.5
+werkzeug>=0.14.1
zxcvbn~=4.4.28
Pallets-Sphinx-Themes>=1.2.0
Sphinx>=1.8.5
sphinx-issues>=1.2.0
Flask-Mongoengine>=0.9.5
-peewee>=3.11.2
+peewee>=3.7.1
Flask-SQLAlchemy>=2.3
argon2_cffi>=19.1.0
-bcrypt>=3.1.5
+bcrypt>=3.1.4
cachetools>=3.1.0
check-manifest>=0.25
coverage>=4.5.4
-cryptography>=2.3.1
+cryptography>=2.1.4
isort>=4.2.2
mock>=1.3.0
mongoengine>=0.15.3
mongomock>=3.14.0
msgcheck>=2.9
-pony>=0.7.11
phonenumberslite>=8.11.1
psycopg2>=2.8.4
pydocstyle>=1.0.0
@@ -73,7 +71,7 @@ pytest-mongo>=1.2.1
pytest>=3.5.1
sqlalchemy>=1.2.6
sqlalchemy-utils>=0.33.0
-werkzeug>=0.15.5
+werkzeug>=0.14.1
zxcvbn~=4.4.28
[docs]
@@ -83,20 +81,19 @@ sphinx-issues>=1.2.0
[tests]
Flask-Mongoengine>=0.9.5
-peewee>=3.11.2
+peewee>=3.7.1
Flask-SQLAlchemy>=2.3
argon2_cffi>=19.1.0
-bcrypt>=3.1.5
+bcrypt>=3.1.4
cachetools>=3.1.0
check-manifest>=0.25
coverage>=4.5.4
-cryptography>=2.3.1
+cryptography>=2.1.4
isort>=4.2.2
mock>=1.3.0
mongoengine>=0.15.3
mongomock>=3.14.0
msgcheck>=2.9
-pony>=0.7.11
phonenumberslite>=8.11.1
psycopg2>=2.8.4
pydocstyle>=1.0.0
@@ -110,5 +107,5 @@ pytest-mongo>=1.2.1
pytest>=3.5.1
sqlalchemy>=1.2.6
sqlalchemy-utils>=0.33.0
-werkzeug>=0.15.5
+werkzeug>=0.14.1
zxcvbn~=4.4.28
Index: Flask-Security-Too-3.4.2/tests/conftest.py
===================================================================
--- Flask-Security-Too-3.4.2.orig/tests/conftest.py
+++ Flask-Security-Too-3.4.2/tests/conftest.py
@@ -617,7 +617,7 @@ def get_message(app):
@pytest.fixture(
- params=["sqlalchemy", "sqlalchemy-session", "peewee", "pony"]
+ params=["sqlalchemy", "sqlalchemy-session", "peewee"]
)
def datastore(request, app, tmpdir, realdburl):
if request.param == "sqlalchemy":