From 08f9182de26947ef24bf3b46524b9b41ec0872b3 Mon Sep 17 00:00:00 2001 From: Kiran Kumar Kotari Date: Tue, 31 May 2022 05:30:56 -0400 Subject: [PATCH] releasing new version 2.2.5 --- .coveralls.yml | 2 -- .gitignore | 1 + .travis.yml | 41 ----------------------------------------- CHANGELOG.md | 9 +++++++++ LICENSE | 2 +- README.md | 8 +++++--- setup.py | 2 +- 7 files changed, 17 insertions(+), 48 deletions(-) delete mode 100644 .coveralls.yml delete mode 100644 .travis.yml diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index 72ad338..0000000 --- a/.coveralls.yml +++ /dev/null @@ -1,2 +0,0 @@ -repo_token: QRIMrAX4uCxG4uoCZQ0PlVpvVWU2qgxiQ - diff --git a/.gitignore b/.gitignore index 8454c6d..4342973 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ .idea .idea/ .vscode/ +.pytest_cache/ # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2a6a04e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,41 +0,0 @@ -language: python -sudo: false - -matrix: - include: - - os: windows - language: sh - before_install: - - git clone https://github.com/pyenv-win/pyenv-win.git $HOME/.pyenv - - export PATH="$HOME/.pyenv/pyenv-win/bin:$HOME/.pyenv/pyenv-win/shims:$PATH" - - pyenv install -q 3.7.1 - - pyenv rehash - - pyenv local 3.7.1 - - python --version - - pip install -r requirements_dev.txt - - os: windows - language: sh - before_install: - - choco install python3 --params "/InstallDir:C:\\Python" - - export PATH="/c/Python:/c/Python/Scripts:$PATH" - - python --version - - python -m pip install -r requirements_dev.txt - - os: linux - python: 2.7 - before_install: - - pip install -r requirements_dev27.txt - - os: linux - python: 3.5 - before_install: - - pip install -r requirements_dev.txt - - os: linux - python: 3.7 - before_install: - - pip install -r requirements_dev.txt - -script: - - "PYTHONPATH=. python -m pytest -v -s --cov=shconfparser tests" - -after_success: - - coveralls - diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29..b19b151 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,9 @@ +# New in 2.2.5 + +- Added #25 Feature: Adding GitHub actions +- Added #23 Create codeql-analysis.yml +- Updated #22 Bump urllib3 from 1.26.4 to 1.26.5 +- Moved from travis to GitHub Actions +- Moved from coversall to codecov.io +- Added pytest for 3.x and 2.7.x +- Added GitHub action to upload package to PyPI \ No newline at end of file diff --git a/LICENSE b/LICENSE index 51021a5..4bd242d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2015-2018 Kiran Kumar Kotari +Copyright (c) 2015-2022 Kiran Kumar Kotari Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 874ca19..6314814 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ # Show Configuration Parser (shconfparser) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -[![Build Status](https://travis-ci.org/network-tools/shconfparser.svg?branch=master)](https://travis-ci.org/network-tools/shconfparser) -[![Coverage Status](https://coveralls.io/repos/github/network-tools/shconfparser/badge.svg?branch=master)](https://coveralls.io/github/network-tools/shconfparser?branch=master) +[![pytest ](https://github.com/network-tools/shconfparser/actions/workflows/pytest.yml/badge.svg)](https://github.com/network-tools/shconfparser/actions/workflows/pytest.yml) +[![pytest 2.7.x ](https://github.com/network-tools/shconfparser/actions/workflows/pytest_27.yml/badge.svg)](https://github.com/network-tools/shconfparser/actions/workflows/pytest_27.yml) +[![codecov](https://codecov.io/gh/network-tools/shconfparser/branch/master/graph/badge.svg?token=3HcQhmQJnL)](https://codecov.io/gh/network-tools/shconfparser) [![Downloads](https://pepy.tech/badge/shconfparser)](https://pepy.tech/project/shconfparser) [![GitHub issues open](https://img.shields.io/github/issues/network-tools/shconfparser.svg?)](https://github.com/network-tools/shconfparser/issues) -[![Known Vulnerabilities](https://snyk.io/test/github/network-tools/shconfparser/badge.svg?targetFile=requirements.txt)](https://snyk.io/test/github/network-tools/shconfparser?targetFile=requirements.txt) +[![CodeQL](https://github.com/network-tools/shconfparser/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/network-tools/shconfparser/actions/workflows/codeql-analysis.yml) +[![PyPI](https://github.com/network-tools/shconfparser/actions/workflows/publish.yml/badge.svg)](https://github.com/network-tools/shconfparser/actions/workflows/publish.yml) - [Introduction](#introduction) - [Docs](#docs) diff --git a/setup.py b/setup.py index 3271226..6bba981 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name='shconfparser', - version='2.2.4', + version='2.2.5', description="It's a Network configuration parser, which translates the show outputs", long_description=long_description, long_description_content_type='text/markdown',