Skip to content

Commit

Permalink
Update Pillow and drop support for 2.7 and 3.4 (#6)
Browse files Browse the repository at this point in the history
- Updates Pillow (PIL-fork) to fix security vulnerabilities.
- Drop support for Python 2.7 and 3.4
  • Loading branch information
codingedward authored Nov 2, 2019
1 parent bc4a497 commit dde4d3a
Show file tree
Hide file tree
Showing 7 changed files with 358 additions and 181 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
dist: xenial
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
install:
- pip install -r requirements.txt
script:
Expand Down
16 changes: 7 additions & 9 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,20 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
coveralls = "*"
nose = "*"
sphinx = "*"
pallets-sphinx-themes = "*"

[packages]
requests = "*"
nose = "*"
python-dateutil = "*"
pytz = "*"
coveralls = "*"
wheel = "*"
twine = "*"
flask = "*"
pillow = "==6.2.0"
pillow = "*"
recommonmark = "*"
pallets-sphinx-themes = "*"
sphinx = "==1.8.5"
urllib3 = "*"
werkzeug = "==0.15.3"
werkzeug = "*"

[requires]
python_version = "3.7"
python_version = "*"
445 changes: 312 additions & 133 deletions Pipfile.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[![](https://readthedocs.org/projects/flask-sieve/badge/?version=latest)](https://flask-sieve.readthedocs.io/en/latest/?badge=latest)
[![](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/month)](https://pepy.tech/project/flask-sieve)
[![](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/)
[![](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/)


A requests validator for Flask inspired by Laravel.
Expand Down
4 changes: 3 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/bash
#!/bin/bash

pipenv install twine wheel
python setup.py sdist && python setup.py bdist_wheel && twine upload dist/*
git reset hard HEAD
58 changes: 29 additions & 29 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
alabaster==0.7.12
Babel==2.6.0
bleach==3.1.0
certifi==2019.3.9
Babel==2.7.0
certifi==2019.9.11
chardet==3.0.4
Click==7.0
commonmark==0.8.1
coverage==4.5.3
coveralls==1.7.0
commonmark==0.9.1
coverage==4.5.4
coveralls==1.8.2
docopt==0.6.2
docutils==0.14
Flask==1.0.2
future==0.17.1
docutils==0.15.2
Flask==1.1.1
idna==2.8
imagesize==1.1.0
importlib-metadata==0.23
itsdangerous==1.1.0
Jinja2==2.10.1
Jinja2==2.10.3
MarkupSafe==1.1.1
more-itertools==7.2.0
nose==1.3.7
packaging==19.0
Pallets-Sphinx-Themes==1.1.4
Pillow==5.4.1
pkginfo==1.5.0.1
Pygments==2.3.1
pyparsing==2.4.0
packaging==19.2
Pallets-Sphinx-Themes==1.2.2
Pillow==6.2.1
Pygments==2.4.2
pyparsing==2.4.2
python-dateutil==2.8.0
pytz==2019.1
readme-renderer==24.0
recommonmark==0.5.0
requests==2.21.0
requests-toolbelt==0.9.1
pytz==2019.3
recommonmark==0.6.0
requests==2.22.0
six==1.12.0
snowballstemmer==1.2.1
Sphinx==1.8.5
sphinxcontrib-websupport==1.1.0
tqdm==4.31.1
twine==1.13.0
urllib3==1.24.2
webencodings==0.5.1
Werkzeug==0.15.3
snowballstemmer==2.0.0
Sphinx==2.2.1
sphinxcontrib-applehelp==1.0.1
sphinxcontrib-devhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.2
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-serializinghtml==1.1.3
urllib3==1.25.6
Werkzeug==0.16.0
zipp==0.6.0
9 changes: 4 additions & 5 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.0.4',
version='1.1.0',
url='https://github.com/codingedward/flask-sieve',
license='BSD-2',
author='Edward Njoroge',
Expand All @@ -20,12 +20,11 @@
'requests',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'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',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=find_packages(),
Expand All @@ -34,6 +33,6 @@
'Source': 'https://github.com/codingedward/flask-sieve/',
'Tracker': 'https://github.com/codingedward/flask-sieve/issues',
},
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
python_requires='>=3.5',
zip_safe=False
)

0 comments on commit dde4d3a

Please sign in to comment.