drop 2.7
This commit is contained in:
Родитель
31db27212c
Коммит
d09eb7ccf2
|
@ -1,11 +1,13 @@
|
|||
1.1.0 (2021-02-05)
|
||||
-----------------
|
||||
- dropped Python 2.7 support (client should continue to work without tests)
|
||||
- added DTDLv2 Support (with components)
|
||||
- added graceful shutdown
|
||||
- added credentials cache
|
||||
- added device twin synchronization at boot
|
||||
- improved tests and coverage
|
||||
|
||||
|
||||
1.0.4 (2020-10-07)
|
||||
------------------
|
||||
- fix property report with value wrapped
|
||||
|
|
11
publish.sh
11
publish.sh
|
@ -14,21 +14,12 @@ fi
|
|||
|
||||
echo "Run tests..."
|
||||
|
||||
python2 -m pytest test/v2
|
||||
RESULT=$?
|
||||
if [[ $RESULT -eq 1 ]]; then
|
||||
echo "Python2 tests failed. Exiting ..."
|
||||
exit -1
|
||||
fi
|
||||
|
||||
python3 -m pytest test/v3
|
||||
python3 -m pytest src/iotc/test
|
||||
RESULT=$?
|
||||
if [[ $RESULT -eq 1 ]]; then
|
||||
echo "Python3 tests failed. Exiting ..."
|
||||
exit -1
|
||||
fi
|
||||
|
||||
python2 setup.py sdist bdist_wheel
|
||||
python3 setup.py sdist bdist_wheel
|
||||
python2 -m twine upload $TEST dist/*
|
||||
python3 -m twine upload $TEST dist/*
|
Загрузка…
Ссылка в новой задаче