Skip to content

Commit a16129d

Browse files
committed
release v1.7.4 changes
- update readme and test_specific command - update GH CI workflow wrt dependabot PR
1 parent e1f1855 commit a16129d

File tree

6 files changed

+20
-9
lines changed

6 files changed

+20
-9
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout source
12-
uses: actions/checkout@v2.3.2
12+
uses: actions/checkout@v3
1313
- name: Set up Python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v4
1515
with:
1616
python-version: 3.7
1717
- name: Install dependencies
1818
run: pip install twine
1919
- name: Build package
2020
run: python setup.py sdist
2121
- name: Publish package to PyPI
22-
uses: pypa/gh-action-pypi-publish@v1.3.1
22+
uses: pypa/gh-action-pypi-publish@v1.8.7
2323
with:
2424
user: __token__
2525
password: ${{ secrets.pypi_password }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020

2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424

2525
- name: Run docker-compose
2626
run: SPLUNK_VERSION=${{matrix.splunk-version}} docker-compose up -d
2727

2828
- name: Setup Python
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v4
3030
with:
3131
python-version: ${{ matrix.python }}
3232

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Splunk Enterprise SDK for Python Changelog
22

3+
## Version 1.7.4
4+
5+
### Bug fixes
6+
* [#532](https://github.com/splunk/splunk-sdk-python/pull/532) update encoding errors mode to 'replace' [[issue#505](https://github.com/splunk/splunk-sdk-python/issues/505)]
7+
* [#507](https://github.com/splunk/splunk-sdk-python/pull/507) masked sensitive data in logs [[issue#506](https://github.com/splunk/splunk-sdk-python/issues/506)]
8+
9+
### Minor changes
10+
* [#530](https://github.com/splunk/splunk-sdk-python/pull/530) Update GitHub CI build status in README and removed RTD(Read The Docs) reference
11+
312
## Version 1.7.3
413

514
### Bug fixes

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# The Splunk Enterprise Software Development Kit for Python
66

7-
#### Version 1.7.3
7+
#### Version 1.7.4
88

99
The Splunk Enterprise Software Development Kit (SDK) for Python contains library code designed to enable developers to build applications using the Splunk platform.
1010

@@ -128,7 +128,7 @@ The Splunk Enterprise SDK for Python contains a collection of unit tests. To run
128128

129129
You can also run individual test files, which are located in **/splunk-sdk-python/tests**. To run a specific test, enter:
130130

131-
make specific_test_name
131+
make test_specific
132132

133133
The test suite uses Python's standard library, the built-in `unittest` library, `pytest`, and `tox`.
134134

scripts/test_specific.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
echo "To run a specific test:"
2-
echo " tox -e py27,py37 [test_file_path]::[test_name]"
2+
echo " tox -e py27,py37 [test_file_path]::[TestClassName]::[test_method]"
3+
echo "For Example, To run 'test_autologin' testcase from 'test_service.py' file run"
4+
echo " tox -e py37 -- tests/test_service.py::ServiceTestCase::test_autologin"

splunklib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ def setup_logging(level, log_format=DEFAULT_LOG_FORMAT, date_format=DEFAULT_DATE
3131
format=log_format,
3232
datefmt=date_format)
3333

34-
__version_info__ = (1, 7, 3)
34+
__version_info__ = (1, 7, 4)
3535
__version__ = ".".join(map(str, __version_info__))

0 commit comments

Comments
 (0)