26 Commits

Author SHA1 Message Date
Romain Porte
599bd6c9e4
barcodes: replace viivakoodi with python-barcode
python-barcode is yet another clone of the PyPI barcode library, but
which is still developped compared to viivakoodi.

The author provides Python 3.7 support in the last release, which is a
nice to have.  However, since this dependency requires at least Python
3.5, we have to align our minimum supported version to 3.5 too, and drop
near EOL Python 2.7 support.

Signed-off-by: Romain Porte <microjoe@microjoe.org>
2019-10-07 19:16:20 +02:00
Romain Porte
4955fe3264
drop Python 2.7 support
Python 2.7 EOL is arriving on 2020-01-01: https://pythonclock.org/

This will allow us to use Python 3 only libraries, like python-barcode,
which can maintain a reduced, simpler codebase, due to only one version
to support.

Signed-off-by: Romain Porte <microjoe@microjoe.org>
2019-10-07 19:15:28 +02:00
Patrick Kanzler
5ac5a24b50
Toolchain update travis drop py2x (#336)
* drop python 2 from supported languages

Python 2 compatibility will not be actively revoked, but will
not be worked on.

* update travis config

* remove flake8-test with Py2.7
2019-06-11 00:24:09 +02:00
Patrick Kanzler
0461adc212 restrict hypothesis-version to below 4 2019-06-04 22:30:23 +02:00
Patrick Kanzler
f649814091
Fix travis-builds and tests in general (#295)
* add explicit location of capabilities.json for travis
* pass on env variables in tox builds
* drop support for python 3.3 and remove python3.3 from supported versions list
2018-05-14 18:06:31 +02:00
Patrick Kanzler
a748563395
blacklist hypothesis version 2018-05-13 18:04:48 +02:00
Patrick Kanzler
01e28bbcf6
ammend blacklisting from cd1bcb57b48c62c1a17be85c2793d5070eee1710
the last comment was a bit rushed and did not properly blacklist both
bad versions of pytest
2017-12-03 23:49:46 +01:00
Patrick Kanzler
2a7e2a6a36
blacklist pytest 3.3.0
see pytest-dev/pytest#2957
2017-12-03 23:43:23 +01:00
Patrick Kanzler
c259263f26 blacklist pytest 3.2.0 because it breaks our tests
see pytest-dev/pytest#2644 for reference
2017-08-04 15:17:05 +02:00
Patrick Kanzler
27c843935f add viivakoodi to dep in tox-file 2017-08-04 15:17:05 +02:00
Patrick Kanzler
fc5ad1673c
add notice that we could add flake8-docstrings once 2017-01-30 02:44:26 +01:00
Patrick Kanzler
337e8ee19e
add flake8-checks to travis 2017-01-30 02:29:08 +01:00
Patrick Kanzler
43e30707be
add flake8 config 2017-01-30 01:36:07 +01:00
Patrick Kanzler
a15d02b50c change dependency to docutils to newer version of sphinx
This is a revert to f8b7238801c82f7858c64a60162cbe36aa8fe332
2017-01-06 18:05:59 +01:00
Patrick Kanzler
f8b7238801
downgrade docutils
version 0.13 of docutils seems to have problems. See
sphinx-doc/sphinx#3212
2016-12-09 21:24:57 +01:00
Patrick Kanzler
1b2f509758
use jaconv instead of jcconv for japanese chars
jaconv is available for more Python-versions and seems to be more
professional. Apart from that I added jaconv to the test-requirements
but not the requirements. (If the katakana-stuff really works we can
later add it as a real dependency)
2016-09-27 20:31:39 +02:00
Patrick Kanzler
915adf8fd3
fix file-printer-tests by using pytest-mock 2016-09-27 20:05:16 +02:00
Michael Elsdörfer
68c17f1181 Generate coverage reports. 2016-08-30 15:57:51 +02:00
Michael Elsdörfer
4496ea91bd Make pytest the test runner. 2016-08-30 13:17:41 +02:00
Patrick Kanzler
a2e188cecf move pypy3 to the allowed failures and add hypothesis
pypy3 is not compatible with hypothesis, which is needed for testing
2016-08-02 00:10:39 +02:00
Patrick Kanzler
87438f9efa
SETUP move code to src
This way we can ensure that the packaged code is tested.
See https://hynek.me/articles/testing-packaging/ or c62a78c015

+ DOC adapt doc to new structure and test doc with travis
2016-06-20 17:48:14 +02:00
Davis Goglin
76f300ea18 Fix text argument 2016-03-28 14:51:48 -07:00
Patrick Kanzler
126e0e269a
ADD coverage analysis
* branch coverage
* visualization with codecov.io
* added codecov-badge to README
2016-03-22 12:07:21 +01:00
Michael Billington
8b454c4765 Clean up non-float value, add v3.5 to tox test 2016-03-17 21:59:47 +11:00
Patrick Kanzler
70307d0f24 FIX tox not executing nosetests 2016-03-08 20:07:16 +01:00
Patrick Kanzler
029549aaae IMPROVE packaging and testing
* uses now tox (currently with no tests) on python 2.7 and 3.4
* upgraded setup.py to setuptools
2015-12-30 16:58:28 +01:00