From ec9c9e60e94fbd41f014e994c604199f2aea42eb Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Thu, 4 Jun 2020 18:10:39 +0530 Subject: [PATCH 1/2] Drop flake8 dependency Signed-off-by: Parag Nemade --- requirements.txt | 6 +----- requirements/base.txt | 5 +++++ requirements/ci.txt | 2 ++ setup.py | 1 - 4 files changed, 8 insertions(+), 6 deletions(-) mode change 100644 => 120000 requirements.txt create mode 100644 requirements/base.txt create mode 100644 requirements/ci.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index f6108a3..0000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -click -mock -requests -six -tabulate diff --git a/requirements.txt b/requirements.txt new file mode 120000 index 0000000..2d8105f --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +requirements/base.txt \ No newline at end of file diff --git a/requirements/base.txt b/requirements/base.txt new file mode 100644 index 0000000..f6108a3 --- /dev/null +++ b/requirements/base.txt @@ -0,0 +1,5 @@ +click +mock +requests +six +tabulate diff --git a/requirements/ci.txt b/requirements/ci.txt new file mode 100644 index 0000000..8289b43 --- /dev/null +++ b/requirements/ci.txt @@ -0,0 +1,2 @@ +-r base.txt # includes the base.txt requirements file +flake8 diff --git a/setup.py b/setup.py index 36fe7e8..9b3cd4f 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,6 @@ url="http://transtats.org", license="Apache License 2.0", install_requires=REQUIRE, - setup_requires=["flake8"], test_suite="tests.tscli_test_suit", scripts=["transtats"], data_files=[('/usr/share/man/man1', ['docs/man/transtats.1']), From 883562bf7d29a1fd9144fc78488780b1a73bd303 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 9 Jun 2020 15:19:45 +0530 Subject: [PATCH 2/2] bump release to 0.4.0 Signed-off-by: Parag Nemade --- .travis.yml | 4 ++-- Changlog.rst | 4 ++++ docs/man/transtats.1 | 10 +++++----- setup.py | 4 ++-- tscli/__init__.py | 4 ++-- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4160f6d..615bbd8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,10 @@ language: python python: - "2.7" - - "3.4" - "3.5" - "3.6" - "3.7" + - "3.8" addons: apt: @@ -14,6 +14,6 @@ addons: - python-dev install: - - pip install -r requirements.txt + - pip install -r requirements/ci.txt script: "python setup.py flake8 test" diff --git a/Changlog.rst b/Changlog.rst index 39539b9..405ae4d 100644 --- a/Changlog.rst +++ b/Changlog.rst @@ -1,6 +1,10 @@ Changelog ========= +0.4.0 (2020-07-09) +----------------- +- Dropping flake8 dependency (pnemade) + 0.3.0 (2019-08-02) ----------------- - Add new options exist and health to package command (pnemade) diff --git a/docs/man/transtats.1 b/docs/man/transtats.1 index b01bd93..2fcf4d7 100644 --- a/docs/man/transtats.1 +++ b/docs/man/transtats.1 @@ -1,5 +1,5 @@ .\" transtats - Command line interface for transtats -.TH "TRANSTATS" "1" "August 2018-2019" "transtats 0.3.0" "User Commands" +.TH "TRANSTATS" "1" "9th June 2020" "transtats 0.4.0" "User Commands" .SH "NAME" transtats \- Command line interface for transtats .SH "SYNOPSIS" @@ -57,12 +57,12 @@ Show this message and exit. .PP \fBTo check the translation status for available packages in any pre-defined Linux distribution release on transtats server.\fP - transtats release fedora-31 + transtats release fedora-33 .PP \fBTo check the translation status for available packages in any pre-defined Linux distribution release on transtats server.\fP \fBBut if you need to know this status categorized by individual languages then use --detail\fP - transtats release --detail fedora-31 + transtats release --detail fedora-33 .PP \fBTo know the version of this transtats client.\fP @@ -77,8 +77,8 @@ Show this message and exit. These job types are syncupstream, syncdownstream, stringchange. Various job type command examples are given below transtats job run stringchange anaconda - transtats job run syncdownstream anaconda --build-system koji --build-tag f31 - transtats job run stringchange anaconda --release-slug fedora-31 + transtats job run syncdownstream anaconda --build-system koji --build-tag f33 + transtats job run stringchange anaconda --release-slug fedora-33 .SH "NOTES" These commands give output in plain text format. If you need the same output diff --git a/setup.py b/setup.py index 9b3cd4f..c4b72bc 100644 --- a/setup.py +++ b/setup.py @@ -38,8 +38,8 @@ 'Intended Audience :: Developers', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], ) diff --git a/tscli/__init__.py b/tscli/__init__.py index 026aa72..b906eda 100644 --- a/tscli/__init__.py +++ b/tscli/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2017-2019 Red Hat, Inc. +# Copyright 2017-2020 Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -21,7 +21,7 @@ from tscli.stats import commands as trans from tscli.jobs import commands as jobs -APP_VERSION = "0.3.0" +APP_VERSION = "0.4.0" class AppContext(object):