Skip to content

Commit bfb0f30

Browse files
Release 25.6 (#90)
* Version updated * Temporarily pin python 3.12.10 version cause 3.12.11 is not presented in macOs and Windows * Fixing Python versions in GH action --------- Co-authored-by: Denis Averin <[email protected]>
1 parent cf9e37d commit bfb0f30

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

.github/workflows/python-latest.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,36 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
# Define the job to run before your matrix job
10+
# Collect available Python versions
1111
get-python-versions:
1212
runs-on: ubuntu-latest
1313
outputs:
14-
python-matrix: ${{ steps.get-python-versions-action.outputs.latest-python-versions }}
14+
python-matrix: ${{ steps.trim.outputs.matrix }}
1515
steps:
1616
- uses: snok/latest-python-versions@v1
1717
id: get-python-versions-action
1818
with:
1919
min-version: '3.12'
2020

21+
# keep only major.minor and remove duplicates
22+
- name: Keep only major.minor
23+
id: trim
24+
shell: bash
25+
run: |
26+
versions='${{ steps.get-python-versions-action.outputs.latest-python-versions }}'
27+
# → ["3.13.5","3.12.11", ...]
28+
matrix=$(echo "$versions" \
29+
| jq -c 'map(split(".")[:2] | join(".")) | unique')
30+
echo "matrix=$matrix" >> "$GITHUB_OUTPUT"
31+
32+
# Use the trimmed versions list in matrix
2133
test:
2234
needs: [get-python-versions]
2335
runs-on: ${{ matrix.operating-system }}
2436
strategy:
2537
matrix:
2638
operating-system: [ ubuntu-latest, windows-latest, macOS-latest ]
2739
python-version: ${{ fromJson(needs.get-python-versions.outputs.python-matrix) }}
28-
2940
continue-on-error: true
3041

3142
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![PyPI](https://img.shields.io/pypi/v/aspose-barcode-cloud)](https://pypi.org/project/aspose-barcode-cloud/)
66

77
- API version: 4.0
8-
- Package version: 25.5.0
8+
- Package version: 25.6.0
99

1010
## SDK and API Version Compatibility:
1111

aspose_barcode_cloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
6060
self.rest_client = RESTClientObject(configuration)
6161
self.default_headers = {
6262
"x-aspose-client": "python sdk",
63-
"x-aspose-client-version": "25.5.0",
63+
"x-aspose-client-version": "25.6.0",
6464
}
6565
if header_name is not None:
6666
self.default_headers[header_name] = header_value
6767
self.cookie = cookie
6868
# Set default User-Agent.
69-
self.user_agent = "Aspose-Barcode-SDK/25.5.0/python"
69+
self.user_agent = "Aspose-Barcode-SDK/25.6.0/python"
7070

7171
def __del__(self):
7272
self.rest_client.close()

aspose_barcode_cloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def to_debug_report(self):
258258
"OS: {env}\n"
259259
"Python Version: {pyversion}\n"
260260
"Version of the API: 4.0\n"
261-
"SDK Package Version: 25.5.0".format(env=sys.platform, pyversion=sys.version)
261+
"SDK Package Version: 25.6.0".format(env=sys.platform, pyversion=sys.version)
262262
)
263263

264264
@staticmethod

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from setuptools import setup, find_packages
66

77
NAME = "aspose-barcode-cloud"
8-
VERSION = "25.5.0"
8+
VERSION = "25.6.0"
99
# To install the library, run the following
1010
#
1111
# python setup.py install

0 commit comments

Comments
 (0)