Skip to content

Commit f5e7175

Browse files
authored
package update (crflynn#12) (crflynn#20)
* poetry; black; pytest; travis * fix python version * dist xenial * limit black python version * update deps for 2.7 * conditional black run * try n=4 again * history and cache dir * add which python * debug * install poetry differently * fix spacing * n=8 gives no benefit * remove ls * fix * revert poetry install * print sys exec * rm source * add venvs * try unset venv * unset * remove legacy files; update metadata * add classifiers * clean up black config * add keywords * fix readme * remove tox
1 parent 774b08a commit f5e7175

34 files changed

+1456
-1511
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ celerybeat-schedule.db
1212
# coverage
1313
.coverage
1414
.coverage.*
15-
_cov
15+
.htmlcov
1616

1717
# python
1818
__pycache__
@@ -39,4 +39,7 @@ dump.rdb
3939
.DS_Store
4040

4141
# intellij
42-
.idea/
42+
.idea/
43+
44+
# wheels
45+
pip-wheel-metadata

.travis.yml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
dist: xenial
12
language: python
2-
# python versions
3+
cache:
4+
pip: true
5+
directories:
6+
- "$HOME/.cache/pypoetry"
37
matrix:
48
include:
59
- python: "2.7"
@@ -10,16 +14,8 @@ matrix:
1014
env: CELERY_VERSION=4.1
1115
- python: "2.7"
1216
env: CELERY_VERSION=4.2
13-
# - python: "3.3"
14-
# env: CELERY_VERSION=3.1
15-
- python: "3.4"
16-
env: CELERY_VERSION=3.1
17-
- python: "3.4"
18-
env: CELERY_VERSION=4.0
19-
- python: "3.4"
20-
env: CELERY_VERSION=4.1
21-
- python: "3.4"
22-
env: CELERY_VERSION=4.2
17+
- python: "2.7"
18+
env: CELERY_VERSION=4.3
2319
- python: "3.5"
2420
env: CELERY_VERSION=3.1
2521
- python: "3.5"
@@ -28,18 +24,23 @@ matrix:
2824
env: CELERY_VERSION=4.1
2925
- python: "3.5"
3026
env: CELERY_VERSION=4.2
27+
- python: "3.5"
28+
env: CELERY_VERSION=4.3
3129
- python: "3.6"
3230
env: CELERY_VERSION=4.1
3331
- python: "3.6"
3432
env: CELERY_VERSION=4.2
35-
# command to install dependencies
33+
- python: "3.6"
34+
env: CELERY_VERSION=4.3
35+
- python: "3.7"
36+
env: CELERY_VERSION=4.3
37+
before_install:
38+
- pip install poetry==0.12.17
3639
install:
37-
- pip install pytest pytest-mock pytest-cov pytest-xdist
38-
- pip install celery==$CELERY_VERSION requests ephem
39-
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' || $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install responses; else pip install vcrpy; fi
40-
- pip install codecov
41-
# command to run tests
42-
script: pytest
43-
# combinations to include
40+
- env -u VIRTUAL_ENV poetry add celery==$CELERY_VERSION
41+
- env -u VIRTUAL_ENV poetry add codecov
42+
script:
43+
- env -u VIRTUAL_ENV poetry run pytest
44+
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then (env -u VIRTUAL_ENV poetry run black --check .); fi
4445
after_success:
45-
- codecov
46+
- env -u VIRTUAL_ENV poetry run codecov

HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Release History
22
---------------
33

4+
0.4.0 (TBD)
5+
~~~~~~~~~~~
6+
7+
* Drop support for Python 3.4 (requests is no longer compatible)
8+
49
0.3.0 (2018-06-16)
510
~~~~~~~~~~~~~~~~~~
611

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017-2018 Christopher Flynn
3+
Copyright (c) 2017-2019 Christopher Flynn
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

MANIFEST.in

Lines changed: 0 additions & 3 deletions
This file was deleted.

Pipfile

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)