Skip to content
Snippets Groups Projects
Commit fbed7216 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Merge branch 'devel' into 'master'

0.62

See merge request 709/mentat/pyzenkit!6
parents f17e469e eb9e8ece
No related branches found
No related tags found
1 merge request!60.62
Pipeline #1858 passed with warnings
# Official language image. Look for the different tagged releases at: # Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/ # https://hub.docker.com/r/library/python/tags/
image: ${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:3.7 image: ${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:latest
# Change pip's cache directory to be inside the project directory since we can # Change pip's cache directory to be inside the project directory since we can
# only cache local items. # only cache local items.
...@@ -26,13 +26,50 @@ before_script: ...@@ -26,13 +26,50 @@ before_script:
stages: # List of stages for jobs, and their order of execution stages: # List of stages for jobs, and their order of execution
- test - test
- check-warnings
- build - build
- deploy - deploy
unit-test-job: unit-test-job:
stage: test stage: test
script: script:
- make test - make test 2>&1 | tee errors.log
artifacts:
when: always
paths:
- errors.log
reports:
junit: nose2-junit.xml
unit-test-3.7-job:
image: ${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:3.7
stage: test
script:
- make test 2>&1 | tee errors-3.7.log
artifacts:
when: always
paths:
- errors-3.7.log
unit-test-3.8-job:
image: ${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:3.8
stage: test
script:
- make test 2>&1 | tee errors-3.8.log
artifacts:
when: always
paths:
- errors-3.8.log
unit-test-3.9-job:
image: ${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:3.9
stage: test
script:
- make test 2>&1 | tee errors-3.9.log
artifacts:
when: always
paths:
- errors-3.9.log
pylint-test-job: pylint-test-job:
stage: test stage: test
...@@ -44,6 +81,34 @@ pyflakes-test-job: ...@@ -44,6 +81,34 @@ pyflakes-test-job:
script: script:
- make pyflakes - make pyflakes
check-deprecation-warnings:
before_script: []
stage: check-warnings
script:
- "if [[ $(grep DeprecationWarning errors.log) ]]; then cat errors.log; exit 1; fi"
allow_failure: true
check-deprecation-warnings-3.7:
before_script: []
stage: check-warnings
script:
- "if [[ $(grep DeprecationWarning errors-3.7.log) ]]; then cat errors-3.7.log; exit 1; fi"
allow_failure: true
check-deprecation-warnings-3.8:
before_script: []
stage: check-warnings
script:
- "if [[ $(grep DeprecationWarning errors-3.8.log) ]]; then cat errors-3.8.log; exit 1; fi"
allow_failure: true
check-deprecation-warnings-3.9:
before_script: []
stage: check-warnings
script:
- "if [[ $(grep DeprecationWarning errors-3.9.log) ]]; then cat errors-3.9.log; exit 1; fi"
allow_failure: true
build-job: build-job:
stage: build stage: build
script: script:
......
...@@ -332,7 +332,7 @@ pylint: FORCE ...@@ -332,7 +332,7 @@ pylint: FORCE
test: FORCE test: FORCE
@echo "\n$(GREEN)*** Checking code with nosetests ***$(NC)\n" @echo "\n$(GREEN)*** Checking code with nosetests ***$(NC)\n"
@$(NOSETESTS) @$(PYTHON) -W always::DeprecationWarning -m nose2 --junit-xml
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
......
...@@ -57,3 +57,42 @@ Copyright ...@@ -57,3 +57,42 @@ Copyright
| This project was initially written for personal use of the original author. | This project was initially written for personal use of the original author.
| Later it was developed much further and used for project of author`s employer. | Later it was developed much further and used for project of author`s employer.
| |
Changelog
--------------------------------------------------------------------------------
Version 0.62
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Released 2022-06-22
- Added a config file for GitLab CI/CD.
- Updated the repository information.
- Updated packages versions.
Version 0.61
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Released 2022-01-20
- Fixed formatting error introduced in 0.60
Version 0.60
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Released 2022-01-20
- Masked PID in PID file name and runlog file name
Version 0.59
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Released 2021-01-11
- Made runlog file names more unique by adding PID
[unittest]
plugins = nose2.plugins.junitxml
...@@ -19,5 +19,5 @@ Python 3. ...@@ -19,5 +19,5 @@ Python 3.
""" """
__author__ = "Honza Mach <honza.mach.ml@gmail.com>" __author__ = "Honza Mach <honza.mach.ml@gmail.com>"
__version__ = "0.61" __version__ = "0.62"
setuptools setuptools
wheel wheel
twine twine
nose==1.3.7 nose2
pyflakes==2.1.0 pyflakes
pylint==2.2.2 pylint
docutils<0.18 docutils<0.18
jinja2==2.10.3 jinja2
markupsafe==2.0.1 markupsafe
sphinx==1.8.4 sphinx
sphinx-rtd-theme==0.4.2 sphinx-rtd-theme
...@@ -50,15 +50,16 @@ setup( ...@@ -50,15 +50,16 @@ setup(
'Environment :: Console', 'Environment :: Console',
], ],
keywords = 'library console script daemon', keywords = 'library console script daemon',
url = 'https://github.com/honzamach/pyzenkit', url = 'https://pypi.org/project/pyzenkit/',
project_urls={
'Documentation': 'https://709.gitlab-pages.cesnet.cz/mentat/pyzenkit/master/html/manual.html',
'Source': 'https://gitlab.cesnet.cz/709/mentat/pyzenkit',
'Tracker': 'https://gitlab.cesnet.cz/709/mentat/pyzenkit/-/issues'
},
author = 'Honza Mach', author = 'Honza Mach',
author_email = 'honza.mach.ml@gmail.com', author_email = 'honza.mach.ml@gmail.com',
license = 'MIT', license = 'MIT',
packages = find_packages(), packages = find_packages(),
test_suite = 'nose.collector',
tests_require = [
'nose'
],
install_requires=[ install_requires=[
'python-dotenv', 'python-dotenv',
'jsonschema', 'jsonschema',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment