Skip to content

Commit dde4d3a

Browse files
authored
Update Pillow and drop support for 2.7 and 3.4 (#6)
- Updates Pillow (PIL-fork) to fix security vulnerabilities. - Drop support for Python 2.7 and 3.4
1 parent bc4a497 commit dde4d3a

File tree

7 files changed

+358
-181
lines changed

7 files changed

+358
-181
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
dist: xenial
22
language: python
33
python:
4-
- "2.7"
5-
- "3.4"
64
- "3.5"
75
- "3.6"
86
- "3.7"
7+
- "3.8"
98
install:
109
- pip install -r requirements.txt
1110
script:

Pipfile

+7-9
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,20 @@ url = "https://pypi.org/simple"
44
verify_ssl = true
55

66
[dev-packages]
7+
coveralls = "*"
8+
nose = "*"
9+
sphinx = "*"
10+
pallets-sphinx-themes = "*"
711

812
[packages]
913
requests = "*"
10-
nose = "*"
1114
python-dateutil = "*"
1215
pytz = "*"
13-
coveralls = "*"
14-
wheel = "*"
15-
twine = "*"
1616
flask = "*"
17-
pillow = "==6.2.0"
17+
pillow = "*"
1818
recommonmark = "*"
19-
pallets-sphinx-themes = "*"
20-
sphinx = "==1.8.5"
2119
urllib3 = "*"
22-
werkzeug = "==0.15.3"
20+
werkzeug = "*"
2321

2422
[requires]
25-
python_version = "3.7"
23+
python_version = "*"

Pipfile.lock

+312-133
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
[![](https://readthedocs.org/projects/flask-sieve/badge/?version=latest)](https://flask-sieve.readthedocs.io/en/latest/?badge=latest)
44
[![](https://coveralls.io/repos/github/codingedward/flask-sieve/badge.svg?branch=master)](https://coveralls.io/github/codingedward/flask-sieve?branch=master)
55
[![](https://api.codacy.com/project/badge/Grade/041c02c078b649a98b5c8c58bd8fd015)](https://www.codacy.com/app/codingedward/flask-sieve?utm_source=github.com&utm_medium=referral&utm_content=codingedward/flask-sieve&utm_campaign=Badge_Grade)
6-
[![](https://pepy.tech/badge/flask-sieve/month)](https://pepy.tech/project/flask-sieve)
7-
[![](https://img.shields.io/badge/python-2.7%20%7C%203.4%20%7C%203.5%20%7C%203.6%20%7C%203.7-blue.svg)](https://pypi.org/project/flask-sieve/)
6+
[![](https://pepy.tech/badge/flask-sieve)](https://pepy.tech/project/flask-sieve)
7+
[![](https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7%20%7C%203.8-blue.svg)](https://pypi.org/project/flask-sieve/)
88

99

1010
A requests validator for Flask inspired by Laravel.

deploy.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
#!/usr/bin/bash
1+
#!/bin/bash
22

3+
pipenv install twine wheel
34
python setup.py sdist && python setup.py bdist_wheel && twine upload dist/*
5+
git reset hard HEAD

requirements.txt

+29-29
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
alabaster==0.7.12
2-
Babel==2.6.0
3-
bleach==3.1.0
4-
certifi==2019.3.9
2+
Babel==2.7.0
3+
certifi==2019.9.11
54
chardet==3.0.4
65
Click==7.0
7-
commonmark==0.8.1
8-
coverage==4.5.3
9-
coveralls==1.7.0
6+
commonmark==0.9.1
7+
coverage==4.5.4
8+
coveralls==1.8.2
109
docopt==0.6.2
11-
docutils==0.14
12-
Flask==1.0.2
13-
future==0.17.1
10+
docutils==0.15.2
11+
Flask==1.1.1
1412
idna==2.8
1513
imagesize==1.1.0
14+
importlib-metadata==0.23
1615
itsdangerous==1.1.0
17-
Jinja2==2.10.1
16+
Jinja2==2.10.3
1817
MarkupSafe==1.1.1
18+
more-itertools==7.2.0
1919
nose==1.3.7
20-
packaging==19.0
21-
Pallets-Sphinx-Themes==1.1.4
22-
Pillow==5.4.1
23-
pkginfo==1.5.0.1
24-
Pygments==2.3.1
25-
pyparsing==2.4.0
20+
packaging==19.2
21+
Pallets-Sphinx-Themes==1.2.2
22+
Pillow==6.2.1
23+
Pygments==2.4.2
24+
pyparsing==2.4.2
2625
python-dateutil==2.8.0
27-
pytz==2019.1
28-
readme-renderer==24.0
29-
recommonmark==0.5.0
30-
requests==2.21.0
31-
requests-toolbelt==0.9.1
26+
pytz==2019.3
27+
recommonmark==0.6.0
28+
requests==2.22.0
3229
six==1.12.0
33-
snowballstemmer==1.2.1
34-
Sphinx==1.8.5
35-
sphinxcontrib-websupport==1.1.0
36-
tqdm==4.31.1
37-
twine==1.13.0
38-
urllib3==1.24.2
39-
webencodings==0.5.1
40-
Werkzeug==0.15.3
30+
snowballstemmer==2.0.0
31+
Sphinx==2.2.1
32+
sphinxcontrib-applehelp==1.0.1
33+
sphinxcontrib-devhelp==1.0.1
34+
sphinxcontrib-htmlhelp==1.0.2
35+
sphinxcontrib-jsmath==1.0.1
36+
sphinxcontrib-qthelp==1.0.2
37+
sphinxcontrib-serializinghtml==1.1.3
38+
urllib3==1.25.6
39+
Werkzeug==0.16.0
40+
zipp==0.6.0

setup.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
name='flask-sieve',
66
description='A Laravel inspired requests validator for Flask',
77
long_description='Find the documentation at https://flask-sieve.readthedocs.io/en/latest/',
8-
version='1.0.4',
8+
version='1.1.0',
99
url='https://github.com/codingedward/flask-sieve',
1010
license='BSD-2',
1111
author='Edward Njoroge',
@@ -20,12 +20,11 @@
2020
'requests',
2121
],
2222
classifiers=[
23-
'Development Status :: 3 - Alpha',
24-
'Programming Language :: Python :: 2.7',
25-
'Programming Language :: Python :: 3.4',
23+
'Development Status :: 5 - Production/Stable',
2624
'Programming Language :: Python :: 3.5',
2725
'Programming Language :: Python :: 3.6',
2826
'Programming Language :: Python :: 3.7',
27+
'Programming Language :: Python :: 3.8',
2928
'Topic :: Software Development :: Libraries :: Python Modules'
3029
],
3130
packages=find_packages(),
@@ -34,6 +33,6 @@
3433
'Source': 'https://github.com/codingedward/flask-sieve/',
3534
'Tracker': 'https://github.com/codingedward/flask-sieve/issues',
3635
},
37-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
36+
python_requires='>=3.5',
3837
zip_safe=False
3938
)

0 commit comments

Comments
 (0)