Skip to content

Commit 72f0555

Browse files
authored
Merge pull request #93 from harikitech/topic/update_supported_versions
Update supported versions
2 parents 697a284 + 24d3324 commit 72f0555

File tree

6 files changed

+66
-86
lines changed

6 files changed

+66
-86
lines changed

.travis.yml

Lines changed: 27 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,44 @@
11
sudo: false
22
language: python
3+
python:
4+
- 3.6
5+
- 3.7
6+
- 3.8
37
cache: pip
8+
env:
9+
- DJANGO=2.2
10+
- DJANGO=3.0
11+
- DJANGO=dev
12+
413
matrix:
5-
fast_finish: true
614
include:
7-
- python: 2.7
8-
env: TOX_ENV=py27-dj111
9-
- python: pypy
10-
env: TOX_ENV=pypy-dj111
11-
- python: 3.4
12-
env: TOX_ENV=py34-dj111
13-
- python: 3.5
14-
env: TOX_ENV=py35-dj111
15-
- python: 3.6
16-
env: TOX_ENV=py36-dj111
17-
- python: pypy3
18-
env: TOX_ENV=pypy3-dj111
19-
- python: 3.4
20-
env: TOX_ENV=py34-dj20
21-
- python: 3.5
22-
env: TOX_ENV=py35-dj20
23-
- python: 3.6
24-
env: TOX_ENV=py36-dj20
25-
- python: 3.5
26-
env: TOX_ENV=py35-djdev
27-
- python: 3.6
28-
env: TOX_ENV=py36-djdev
29-
- python: 3.6
30-
env: TOX_ENV=flake8
31-
- python: 3.6
32-
env: TOX_ENV=isort
33-
- python: 3.6
34-
env: TOX_ENV=readme
35-
- python: 3.6
36-
env: TOX_ENV=check-manifest
15+
- python: 3.5
16+
env: DJANGO=2.2
17+
- python: 3.8
18+
env: TOXENV=flake8
19+
- python: 3.8
20+
env: TOXENV=isort
21+
- python: 3.8
22+
env: TOXENV=readme
23+
- python: 3.8
24+
env: TOXENV=manifest
3725
allow_failures:
38-
- env: TOX_ENV=py35-djdev
39-
- env: TOX_ENV=py36-djdev
26+
- env: DJANGO=dev
4027
install:
41-
- pip install tox
28+
- travis_retry python3 -m pip install tox-travis
4229
script:
43-
- tox -e "$TOX_ENV"
30+
- tox
4431
deploy:
4532
provider: pypi
46-
user: uncovertruth
33+
username: __token__
4734
password:
48-
secure: FtNY+8/F79RYpJzfusYBC9HFfDWlevUbS4J5TECm8tyMxAxeHMpLOaL4dd/wPkRkuctUM5LyXux5rpVQTfMA4Dvjdufc7BqexCt056GznJPFRjHW19ExeguTHXW810RIVrFmo5Dk1/AlMpGEeiL3OXoI041h7/vRZe6QWP6P0NCz9UrkZ/Qc9JDZqkXBmhiwvt4P3gu5sbxaiM4IqxhSQ/4DoI87SQlD3nUfgRT2TkqN/Jx0ME0H7l+40HeqZvVq6sh9Muc5/XhDEx5HWt9BSgymeXXG6mT3sewBfinJlQ5/1Rrm+IHa48m/3mLJkfYEs15BQCizvDc6/dRfdtCc/9jYl3e67yEM6Akn+52pTOU4Oa727ZUpAYNCzfY+pHc3E9oI0YFuOl+WYNo5bWUh3IlWAl/eXDGWOvRMF4waUbyjUMiZ+C4pRmRKznYZB9xgbPxHDlR6CMn8P5F5j3ZVbW0BxUEjlDFcDT65gflBhKS1eWTOQRMobR+yjQKlYMlIeCgITbuEYbn2GbL84aN42U910rSQ4SryzqjaOIyxtZG53cGDw2NMm4q7bIwRkj6gbvliA36HIFaRQrI/wtrmr3guy4raPRpEGi7OhFoaPxaqkEs+yF55MEafNM4eJc9swM/K/mbN6FFKIWoWVyXUCUDIWvcPYLWPR/kLidWCNzw=
35+
secure: "HBbDdcrrzRrSXbQGz3cz24/xNIW77tVlHQ+D6DS5raOSV7en5CPaiWZ50YkMQa08nfBOR1RBT8JivrC05qz1+TqMwOz0+rinFeGPmu9gLY8f+1kx0UZnmXG7GHsm6dBGOP6nIHA40+rtK/YLuhskdd2hEBIOAuAxXuCSd1UQ/3bj/nuspDwcot9OdJiyn+Xl+cjI39Gt8WlF7ZBjgFRw1hNSIJ2f0or38zf+SSDY6QgKiJZCn+4sooy0assCms84LSKumSl7Ya50IWwBGJgJaNPxikqgTf3rDP9bT25OLtJw78zJnO4QC2PJ9Y7j2tzeYkelHJM794uAtKNaW1SanlYdBXQoE7m1CE8DszZxCtN/siuz+30whFJ885pPaSN3m5uJct/v9GxBEAHtoCrwwdfrTvzVCU43PGwPZvO768k465rRGUnBInLybO5hTq6myajecZB2WhVXMh7/KMcXlVtnD5PvIhxLkLPVIGBK+1wFfvH/4ijZl8Dhz5PXP53AcX/Ohdli7+kd9DQEvieE2bhDpBaJq2r7B4etW/bjz76GQ704uzuF5JXXEibaT1fox8nqJzghuWfcXJvoTa20iR1quuHg0Z4qBIYh76CUXafi4iIZ0fCcIDVPWM7KSp1rvt4BgCdi1csQdTasw0l0WGoKdOSu+LlNSrqzPLoXQlE="
4936
distributions: sdist bdist_wheel
5037
skip_upload_docs: true
5138
on:
52-
repo: uncovertruth/django-elastipymemcache
39+
repo: harikitech/django-elastipymemcache
5340
tags: true
54-
condition: $TOX_ENV = py36-dj20
41+
python: 3.8
42+
condition: "$DJANGO = 3.0"
5543
notifications:
5644
email: false

MANIFEST.in

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
include LICENSE
2+
include README.rst
3+
14
graft django_elastipymemcache
25
graft tests
3-
include README.rst AUTHORS LICENSE CHANGELOG.rst setup.py setup.cfg requirements.txt tox.ini
4-
global-exclude __pycache__ *.pyc
6+
7+
global-exclude __pycache__
8+
global-exclude *.py[co]

README.rst

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,11 @@
22
django-elastipymemcache
33
=======================
44

5-
:Info: Simple Django cache backend for Amazon ElastiCache (memcached based).
6-
:Author: UNCOVER TRUTH Inc. <develop@uncovertruth.co.jp>
7-
:Copyright: © UNCOVER TRUTH Inc.
8-
:Date: 2018-06-19
9-
:Version: 1.2.1
10-
115
.. index: README
12-
.. image:: https://travis-ci.org/uncovertruth/django-elastipymemcache.svg?branch=master
13-
:target: https://travis-ci.org/uncovertruth/django-elastipymemcache
14-
.. image:: https://codecov.io/gh/uncovertruth/django-elastipymemcache/branch/master/graph/badge.svg
15-
:target: https://codecov.io/gh/uncovertruth/django-elastipymemcache
16-
.. image:: https://requires.io/github/uncovertruth/django-elastipymemcache/requirements.svg?branch=master
17-
:target: https://requires.io/github/uncovertruth/django-elastipymemcache/requirements/?branch=master
18-
.. image:: https://badge.fury.io/py/django-elastipymemcache.svg
19-
:target: https://badge.fury.io/py/django-elastipymemcache
6+
.. image:: https://travis-ci.org/harikitech/django-elastipymemcache.svg?branch=master
7+
:target: https://travis-ci.org/harikitech/django-elastipymemcache
8+
.. image:: https://codecov.io/gh/harikitech/django-elastipymemcache/branch/master/graph/badge.svg
9+
:target: https://codecov.io/gh/harikitech/django-elastipymemcache
2010

2111
Purpose
2212
-------
@@ -31,7 +21,7 @@ Requirements
3121
------------
3222

3323
* pymemcache
34-
* Django>=1.11
24+
* Django>=2.2
3525

3626
Installation
3727
------------
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
VERSION = (1, 2, 1)
1+
VERSION = (1, 3, 0)
22
__version__ = '.'.join(map(str, VERSION))

setup.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,31 @@
1212
version=django_elastipymemcache.__version__,
1313
description='Django cache backend for Amazon ElastiCache (memcached)',
1414
keywords='elasticache amazon cache pymemcache memcached aws',
15-
author='UNCOVER TRUTH Inc.',
16-
author_email='develop@uncovertruth.co.jp',
17-
url='http://github.com/uncovertruth/django-elastipymemcache',
15+
author='HarikiTech',
16+
author_email='harikitech+noreply@googlegroups.com',
17+
url='http://github.com/harikitech/django-elastipymemcache',
1818
license='MIT',
1919
long_description=io.open('README.rst').read(),
2020
platforms='any',
2121
zip_safe=False,
2222
classifiers=[
2323
'Development Status :: 4 - Beta',
2424
'Environment :: Web Environment',
25-
'Framework :: Django :: 1.11',
26-
'Framework :: Django :: 2.0',
25+
'Framework :: Django :: 2.2',
26+
'Framework :: Django :: 3.0',
2727
'Intended Audience :: Developers',
2828
'License :: OSI Approved :: MIT License',
2929
'Operating System :: OS Independent',
30-
'Programming Language :: Python :: 2',
31-
'Programming Language :: Python :: 2.7',
32-
'Programming Language :: Python :: 3',
33-
'Programming Language :: Python :: 3.4',
3430
'Programming Language :: Python :: 3.5',
3531
'Programming Language :: Python :: 3.6',
32+
'Programming Language :: Python :: 3.7',
33+
'Programming Language :: Python :: 3.8',
3634
'Topic :: Software Development :: Libraries :: Python Modules',
3735
],
3836
packages=find_packages(exclude=('tests',)),
3937
include_package_data=True,
4038
install_requires=[
4139
'pymemcache',
42-
'Django>=1.11',
40+
'Django>=2.2',
4341
],
4442
)

tox.ini

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
11
[tox]
22
envlist =
3-
py{py,27}-dj111,py{py3,34,35,36}-dj{111,20},py{py3,35,36}-dj{dev}
3+
py{35,36,37,38}-{dj22},
4+
py{36,37,38}-{dj30,djdev},
45
flake8,
56
isort,
67
readme
78
check-manifest
89

10+
[travis:env]
11+
DJANGO =
12+
2.2: dj22
13+
3.0: dj30
14+
dev: djdev
15+
916
[testenv]
10-
basepython =
11-
py27: python2.7
12-
py34: python3.4
13-
py35: python3.5
14-
py36: python3.6
15-
pypy: pypy
16-
pypy3: pypy3
1717
deps =
18-
dj111: Django>=1.11,<2.0
19-
dj20: Django>=2.0,<2.1
18+
dj22: Django<2.3
19+
dj30: Django<3.1
2020
djdev: https://github.com/django/django/archive/master.tar.gz
2121
-r{toxinidir}/requirements.txt
22-
py36-dj20: codecov
22+
py38-dj30: codecov
2323
setenv =
2424
PYTHONPATH = {toxinidir}
2525
CODECOV_TOKEN="8ea69bfe-d9b5-45fc-97f7-ef843bd3d9d2"
2626
commands =
27-
coverage run --source=django_elastipymemcache -m nose
28-
py36-dj20: coverage report
29-
py36-dj20: coverage xml
30-
py36-dj20: codecov
27+
coverage run --source=django_elastipymemcache -m nose --verbose
28+
py38-dj30: coverage report
29+
py38-dj30: coverage xml
30+
py38-dj30: codecov
3131

3232
[testenv:flake8]
33-
basepython = python3.6
33+
basepython = python3.8
3434
commands = flake8
3535
deps = flake8
3636

3737
[testenv:isort]
38-
basepython = python3.6
38+
basepython = python3.8
3939
commands = isort --verbose --check-only --diff django_elastipymemcache tests setup.py
4040
deps = isort
4141

4242
[testenv:readme]
43-
basepython = python3.6
43+
basepython = python3.8
4444
commands = python setup.py check -r -s
4545
deps = readme_renderer
4646

4747
[testenv:check-manifest]
48-
basepython = python3.6
48+
basepython = python3.8
4949
commands = check-manifest {toxinidir}
5050
deps = check-manifest

0 commit comments

Comments
 (0)