Skip to content

Commit 88d78f7

Browse files
committed
upgrade to python 3.10
1 parent 5412ecb commit 88d78f7

5 files changed

Lines changed: 15 additions & 14 deletions

File tree

.github/workflows/test.yaml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Run locally with act:
22
#
3-
# act pull_request \
4-
# --platform fusionauth-standard=[ecr-repo-name]/fusionauth-standard:latest] \
5-
# --workflows ./.github/workflows/test.yaml
3+
# act pull_request --workflows .github/workflows/test.yaml
64

75
name: Test
86

@@ -17,7 +15,7 @@ on:
1715

1816
jobs:
1917
run_tests:
20-
runs-on: fusionauth-standard
18+
runs-on: ubuntu-latest
2119
env:
2220
FUSIONAUTH_URL: http://localhost:9011
2321
FUSIONAUTH_API_KEY: bf69486b-4733-4470-a592-f1bfce7af580
@@ -28,16 +26,19 @@ jobs:
2826
working-directory: src/test/docker
2927
run: docker compose up -d
3028

31-
- name: Install fusionauth library
32-
shell: bash -l {0}
33-
run: pip3 install .
34-
3529
- name: Check to see if FusionAuth is loaded
3630
run: |
3731
bash ./src/test/docker/poll-for-kickstart-finish.sh
3832
3933
- name: Run tests
4034
shell: bash -l {0}
4135
run: |
42-
python3 src/test/python/fusionauth/rest_client_test.py
43-
python3 src/test/python/fusionauth/fusionauth_client_test.py
36+
python3 -m venv .venv
37+
source .venv/bin/activate
38+
echo -e "\nUsing $(python --version) in $(which python)\n"
39+
pip install -e .
40+
echo ""
41+
pip list
42+
echo ""
43+
python src/test/python/fusionauth/rest_client_test.py
44+
python src/test/python/fusionauth/fusionauth_client_test.py

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.8.13
1+
3.10.12

build.savant

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* language governing permissions and limitations under the License.
1515
*/
1616

17-
project(group: "io.fusionauth", name: "fusionauth-python-client", version: "1.53.2", licenses: ["ApacheV2_0"]) {
17+
project(group: "io.fusionauth", name: "fusionauth-python-client", version: "1.54.0", licenses: ["ApacheV2_0"]) {
1818
workflow {
1919
fetch {
2020
cache()

fusionauth-python-client.iml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<excludeFolder url="file://$MODULE_DIR$/build" />
1111
<excludeFolder url="file://$MODULE_DIR$/dist" />
1212
</content>
13-
<orderEntry type="jdk" jdkName="Python 3.8" jdkType="Python SDK" />
13+
<orderEntry type="jdk" jdkName="Python 3.10" jdkType="Python SDK" />
1414
<orderEntry type="sourceFolder" forTests="false" />
1515
</component>
1616
</module>

src/test/docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
db:
3-
image: postgres:16.0-alpine
3+
image: postgres:16.2-alpine
44
environment:
55
PGDATA: /var/lib/postgresql/data/pgdata
66
POSTGRES_USER: postgres

0 commit comments

Comments
 (0)