Skip to content

Commit 81386d2

Browse files
committed
Update python SDK from OpenAPI Generator
1 parent 82c4953 commit 81386d2

File tree

2 files changed

+12
-29
lines changed

2 files changed

+12
-29
lines changed

.github/workflows/python.yml

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
5+
16
name: helloasso_python Python package
27

38
on: [push, pull_request]
49

510
jobs:
611
build:
12+
713
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
817

918
steps:
1019
- uses: actions/checkout@v4
11-
- name: Set up Python
20+
- name: Set up Python ${{ matrix.python-version }}
1221
uses: actions/setup-python@v4
1322
with:
14-
python-version: '3.13'
23+
python-version: ${{ matrix.python-version }}
1524
- name: Install dependencies
1625
run: |
1726
python -m pip install --upgrade pip
@@ -20,29 +29,3 @@ jobs:
2029
- name: Test with pytest
2130
run: |
2231
pytest --cov=helloasso_python
23-
- name: Build package
24-
run: |
25-
pip install build
26-
python -m build
27-
- name: upload dists
28-
uses: actions/upload-artifact@v4
29-
with:
30-
name: release-dists
31-
path: dist/
32-
33-
pypi-publish:
34-
runs-on: ubuntu-latest
35-
needs:
36-
- build
37-
permissions:
38-
id-token: write
39-
40-
steps:
41-
- name: Retrieve release distributions
42-
uses: actions/download-artifact@v4
43-
with:
44-
name: release-dists
45-
path: dist/
46-
47-
- name: Publish release distributions to PyPI
48-
uses: pypa/gh-action-pypi-publish@release/v1.12

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# prerequisite: setuptools
2222
# http://pypi.python.org/pypi/setuptools
2323
NAME = "helloasso-python"
24-
VERSION = "1.0.0"
24+
VERSION = "v1.0.3"
2525
PYTHON_REQUIRES = ">= 3.9"
2626
REQUIRES = [
2727
"urllib3 >= 2.1.0, < 3.0.0",

0 commit comments

Comments
 (0)