Skip to content

Commit

Permalink
Update Pillow and drop support for Python 3.5 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
codingedward authored Mar 18, 2021
1 parent fc45f6f commit 2f7f67d
Show file tree
Hide file tree
Showing 7 changed files with 261 additions and 115 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
dist: xenial
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
install:
- pip install -r requirements.txt
script:
Expand Down
4 changes: 3 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ verify_ssl = true
[dev-packages]
coveralls = "*"
nose = "*"
autopep8 = "*"
pylint = "*"

[packages]
requests = "*"
python-dateutil = "*"
pytz = "*"
flask = "*"
pillow = ">=7.1.0"
pillow = "*"
werkzeug = "*"
filetype = "*"

Expand Down
333 changes: 234 additions & 99 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![](https://coveralls.io/repos/github/codingedward/flask-sieve/badge.svg?branch=master)](https://coveralls.io/github/codingedward/flask-sieve?branch=master)
[![](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)
[![](https://pepy.tech/badge/flask-sieve)](https://pepy.tech/project/flask-sieve)
[![](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/)
[![](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue.svg)](https://pypi.org/project/flask-sieve/)


A requests validator for Flask inspired by Laravel.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![](https://coveralls.io/repos/github/codingedward/flask-sieve/badge.svg?branch=master)](https://coveralls.io/github/codingedward/flask-sieve?branch=master)
[![](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)
[![](https://pepy.tech/badge/flask-sieve)](https://pepy.tech/project/flask-sieve)
[![](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/)
[![](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue.svg)](https://pypi.org/project/flask-sieve/)


<img src="https://raw.githubusercontent.com/codingedward/flask-sieve/master/docs/source/_static/sieve.png" style="width: 40%; float: right; transform: rotate(-15deg)" />
Expand Down
27 changes: 18 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
certifi==2020.6.20
chardet==3.0.4
astroid==2.5.1
autopep8==1.5.6
certifi==2020.12.5
chardet==4.0.0
click==7.1.2
coverage==5.2.1
coveralls==2.1.2
coverage==5.5
coveralls==3.0.1
docopt==0.6.2
filetype==1.0.7
Flask==1.1.2
idna==2.10
isort==5.7.0
itsdangerous==1.1.0
Jinja2==2.11.2
Jinja2==2.11.3
lazy-object-proxy==1.5.2
MarkupSafe==1.1.1
mccabe==0.6.1
nose==1.3.7
Pillow==7.2.0
Pillow==8.1.2
pycodestyle==2.7.0
pylint==2.7.2
python-dateutil==2.8.1
pytz==2020.1
requests==2.24.0
pytz==2021.1
requests==2.25.1
six==1.15.0
urllib3==1.25.10
toml==0.10.2
urllib3==1.26.4
Werkzeug==1.0.1
wrapt==1.12.1
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name='flask-sieve',
description='A Laravel inspired requests validator for Flask',
long_description='Find the documentation at https://flask-sieve.readthedocs.io/en/latest/',
version='1.3.1',
version='2.0.0',
url='https://github.com/codingedward/flask-sieve',
license='BSD-2',
author='Edward Njoroge',
Expand All @@ -22,10 +22,10 @@
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=find_packages(),
Expand All @@ -34,6 +34,6 @@
'Source': 'https://github.com/codingedward/flask-sieve/',
'Tracker': 'https://github.com/codingedward/flask-sieve/issues',
},
python_requires='>=3.5',
python_requires='>=3.6',
zip_safe=False
)

0 comments on commit 2f7f67d

Please sign in to comment.