Skip to content

Commit de84dea

Browse files
multi-condition query with subset/range clause(s) (#178)
* working on getting in and between query conditions working when there are other conditions * fixed multi condition query where subset and / or range condition(s) are involved * README and doco inclusion * generated stuff for 1.5.2 * final generated elements for this 1.5.2 release
1 parent 7f795b3 commit de84dea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+216
-133
lines changed

PKG-INFO

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Metadata-Version: 1.1
22
Name: pyral
3-
Version: 1.5.1
3+
Version: 1.5.2
44
Summary: Python toolkit for Rally REST API
55
Home-page: https://github.com/RallyTools/RallyRestToolkitForPython
66
Author: Kip Lehman (Broadcom, Enterprise Software Division)
77
License: BSD
8-
Download-URL: https://github.com/RallyTools/RallyRestToolkitForPython/raw/master/dists/pyral-1.5.1.zip
8+
Download-URL: https://github.com/RallyTools/RallyRestToolkitForPython/raw/master/dists/pyral-1.5.2.zip
99
Description: This is the README file for pyral, a package implementing a
1010
Pythonic interface to the Rally REST API
1111

@@ -28,7 +28,7 @@ Description: This is the README file for pyral, a package implementing a
2828
The pyral package requires the use of Kenneth Reitz's requests package using version 2.12.0 or better.
2929
As of requests version 2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
3030
The requests package can be found via the Python Package Index site (http://pypi/python.org/index).
31-
The most recent release of pyral (1.5.1) has been tested with requests 2.22.0.
31+
The most recent release of pyral (1.5.2) has been tested with requests 2.22.0.
3232
The six module is also required.
3333

3434

README.rst

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Obtain the requests_ package and install it according to that package's directio
4646
As of requests-2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
4747
Use of requests-2.x or better is recommended for use with pyral.
4848
The requests_ package can be found via the Python Package Index site (http://pypi/python.org/index).
49-
The most recent release of pyral (1.5.1) has been tested using requests 2.22.0.
49+
The most recent release of pyral (1.5.2) has been tested using requests 2.22.0.
5050

5151
Obtain and install the six_ module (available from PyPI at https://pypi.python.org/pypi/six)
5252

@@ -70,11 +70,11 @@ relevant packages.
7070
::
7171

7272
$ python
73-
Python 3.7.5 [other Python interpreter info elided ...]
73+
Python 3.8.5 [other Python interpreter info elided ...]
7474
>> import requests
7575
>> import pyral
7676
>> pyral.__version__
77-
(1, 5, 1)
77+
(1, 5, 2)
7878

7979

8080

@@ -251,7 +251,7 @@ The item names in config files **are** case sensitive.
251251
Prerequisites
252252
-------------
253253

254-
* Python 3.5, 3.6 or 3.7 (this package not tested with earlier versions of Python 3.x)
254+
* Python 3.6, 3.7, 3.8 or 3.9 (this package not tested with earlier versions of Python 3.x)
255255
* The requests_ package, 2.0.0 or better (2.0.0 finally includes support for https proxy),
256256
requests 2.22.0 or more recent is recommended.
257257
* The six_ package.
@@ -261,6 +261,18 @@ Prerequisites
261261

262262
Versions
263263
--------
264+
265+
**1.5.2**
266+
Fixed query builder so that multi-condition queries thet include subset or range conditions
267+
are constructed correctly.
268+
Dropped all code related to ping functionality.
269+
270+
**1.5.1**
271+
Fixed query builder to accommodate subset criteria (in | !in) and range criteria (between | !between).
272+
Dropped mention of Python 3.5 as a supported version in PKG-INFO.
273+
Added mention of Python 3.9 as a supported version in PKG-INFO.
274+
Excised all mentions of AgileCentral in the docs, replaced by 'Rally'.
275+
264276
**1.5.0**
265277
Dropped all support for Python 2.7 constructs.
266278
Validated support for Python 3.7 and 3.8.

README.short

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Requirements
2020
The pyral package requires the use of Kenneth Reitz's requests package using version 2.12.0 or better.
2121
As of requests version 2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
2222
The requests package can be found via the Python Package Index site (http://pypi/python.org/index).
23-
The most recent release of pyral (1.5.1) has been tested with requests 2.22.0.
23+
The most recent release of pyral (1.5.2) has been tested with requests 2.22.0.
2424
The six module is also required.
2525

2626

VERSIONS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,8 @@
153153
Added mention of Python 3.9 as a supported version in PKG-INFO.
154154
Excised all mentions of AgileCentral in the docs, replaced by 'Rally'.
155155

156+
1.5.2 - Jul 2021
157+
Fixed query builder so that multi-condition queries thet include subset or range conditions
158+
are constructed correctly.
159+
Dropped all code related to ping functionality.
160+

build_dist.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import re
1515

1616
PACKAGE_NAME = "pyral"
17-
VERSION = "1.5.1"
17+
VERSION = "1.5.2"
1818

1919
AUX_FILES = ['MANIFEST.in',
2020
'PKG-INFO',
@@ -121,11 +121,11 @@ def main(args):
121121

122122
# in order to get a wheel file built, the python used has to have available a setup.py
123123
# that exposes a bdist_wheel method, which is in versions of python beyond 2.7,
124-
# like 3.5., 3.6, 3.7, etc.
124+
# like 3.6, 3.7, 3.8, etc.
125125
# you'll need to have done a 'pip3 install wheel' which sets up the necessary infrastructure.
126126
os.system('python setup.py bdist_wheel')
127-
wheel_file = "%s-%s-py2.py3-none-any.whl" % (PACKAGE_NAME, VERSION)
128-
# the wheel_file gets written into the dist subdir by default, no need for a copy...
127+
wheel_file = "%s-%s-py3-none-any.whl" % (PACKAGE_NAME, VERSION)
128+
# the wheel_file gets written into the dist subdir by default, no need for a copy...
129129

130130
store_packages('dist', [tarball])
131131
store_packages('dists', [tarball, zipped])

dist/pyral-1.5.2-py3-none-any.whl

70.1 KB
Binary file not shown.

dist/pyral-1.5.2.docs.html.zip

8.89 MB
Binary file not shown.

dist/pyral-1.5.2.tar.gz

24.8 MB
Binary file not shown.

dists/pyral-1.5.2.tar.gz

24.8 MB
Binary file not shown.

dists/pyral-1.5.2.zip

8.99 MB
Binary file not shown.

0 commit comments

Comments
 (0)