Skip to content

Commit

Permalink
Merge pull request #159 from vrdel/new-release-1
Browse files Browse the repository at this point in the history
New release 0.6.0 #2
  • Loading branch information
themiszamani authored Nov 3, 2022
2 parents 7867084 + a91e1b2 commit 389fd77
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 36 deletions.
28 changes: 21 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [0.6.0] - 2022-11-03

### Added

* AM-143 Add support for requests ReadTimeOut exception
* AM-228 Add user management fuctionality to AMS-library
* AM-227 ams-library: add support for miscellaneous api calls
* AM-225 AMS Library Support for more API Calls
* ARGO-4050 Update tox to run unit tests against recent Python versions

### Fixed

* ARGO-4088 Fix ams-library test execute with local pyenv load

## [0.5.9] - 2022-08-02

### Fixed
Expand All @@ -20,7 +34,7 @@ AM-249 ams-library: bug fix regarding sub and topic acl methods #137

## [0.5.6] - 2022-06-21

### Added
### Added

AM-233 ams-library: support for project_member_get api call
AM-230 ams-library: support for project_member_add api call
Expand All @@ -29,7 +43,7 @@ AM-226 ams-library: support for user_create api call

## [0.5.5] - 2021-04-15

### Added
### Added

ARGO-2768 ams-library: support for AMS authorization header

Expand All @@ -47,7 +61,7 @@ ARGO-2592 ams-library py2 RPM also packages py3 specific modules

## [0.5.2] - 2020-07-08

### Fixed
### Fixed

* ARGO-2479 Modify subscription offset method fails
* ARGO-2360 Fix ack_sub retry loop
Expand All @@ -62,13 +76,13 @@ ARGO-2592 ams-library py2 RPM also packages py3 specific modules

## [0.5.0] - 2019-12-19

### Added
### Added

* ARGO-1481 Connection retry logic in ams-library

## [0.4.3] - 2019-11-08

### Added
### Added

* ARGO-1862 Make argo-ams-library Python 3 ready
* ARGO-1841 Update the ams library to include the new timeToOffset functionality
Expand All @@ -86,7 +100,7 @@ ARGO-2592 ams-library py2 RPM also packages py3 specific modules

## [0.4.0-1] - 2018-05-09

### Added
### Added

* Extend ams library to support offset manipulation
* Introduce AmsHttpRequests class
Expand All @@ -101,7 +115,7 @@ ARGO-2592 ams-library py2 RPM also packages py3 specific modules
* Handle 404 for topic and subscription calls
* Handle JSON error message propagated through AMS

### Fixed
### Fixed

* set for error codes and pass request args for iters
* Status msg attach to AmsServiceException if exist
Expand Down
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ pipeline {
stages {
stage ('Test'){
parallel {

stage ('Test Centos 7') {
agent {
docker {
Expand All @@ -25,11 +24,11 @@ pipeline {
echo 'Building Rpm...'
sh '''
cd ${WORKSPACE}/$PROJECT_DIR
rm .python-version &>/dev/null
rm -f .python-version &>/dev/null
source $HOME/pyenv.sh
PY310V=$(pyenv versions | grep ams-py310)
pyenv local 3.7.15 3.8.15 3.9.15 ${PY310V// /}
tox -p
tox
coverage xml --omit=*usr* --omit=*.tox*
'''
cobertura coberturaReportFile: '**/coverage.xml'
Expand Down
32 changes: 9 additions & 23 deletions argo-ams-library.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Name: argo-ams-library
Summary: %{sum}
Version: 0.5.9
Version: 0.6.0
Release: 1%{?dist}

Group: Development/Libraries
Expand All @@ -21,21 +21,6 @@ BuildArch: noarch
%{desc}


%if 0%{?el6}

%package -n python2-%{name}
Obsoletes: argo-ams-library
Provides: argo-ams-library
Summary: %{sum}
BuildRequires: python2-devel python2-setuptools
Requires: python2-requests
AutoReq: no
%description -n python2-%{name}
%{desc}
%{?python_provide:%python_provide python2-%{name}}

%else

%package -n python-%{name}
Obsoletes: argo-ams-library
Provides: argo-ams-library
Expand All @@ -47,19 +32,12 @@ AutoReq: no
%{desc}
%{?python_provide:%python_provide python-%{name}}

%endif

%package -n python%{python3_pkgversion}-%{name}
Summary: %{sum}
%if 0%{?el6}
BuildRequires: python34-devel python34-setuptools
Requires: python34-requests
AutoReq: no
%else
BuildRequires: python36-devel python36-setuptools
Requires: python36-requests
AutoReq: no
%endif
%description -n python%{python3_pkgversion}-%{name}
%{desc}
%{?python_provide:%python_provide python3-%{name}}
Expand Down Expand Up @@ -95,6 +73,14 @@ rm -rf %{buildroot}


%changelog
* Thu Nov 3 2022 Daniel Vrcic <[email protected]>, agelostsal <[email protected]> - 0.6.0-1%{?dist}
- AM-143 Add support for requests ReadTimeOut exception
- AM-228 Add user management fuctionality to AMS-library
- AM-227 ams-library: add support for miscellaneous api calls
- AM-225 AMS Library Support for more API Calls
- ARGO-4050 Update tox to run unit tests against recent Python versions
- ARGO-4088 Fix ams-library test execute with local pyenv load
- remove Centos 6 RPM build from spec
* Tue Aug 2 2022 agelostsal <[email protected]> - 0.5.9-1%{?dist}
- Different requests version for various python versions
* Tue Jul 26 2022 agelostsal <[email protected]> - 0.5.8-1%{?dist}
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ def get_ver():
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ deps = coverage
httmock
mock
requests0: requests==2.20
requests2123: requests==2.12.3
requests260: requests==2.6.0
requests2125: requests==2.12.5
commands = coverage run --append -m pytest

0 comments on commit 389fd77

Please sign in to comment.