Skip to content

Commit

Permalink
Merge pull request #35 from christianhelle/python-3.12-support
Browse files Browse the repository at this point in the history
Add Python 3.12 support
  • Loading branch information
christianhelle authored Jan 16, 2024
2 parents 3e155f8 + 35948ea commit f00ad45
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-for-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- name: Setup Python
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/build-python-312-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 3.12

on:
push:
paths:
- src/**/*.py
- tests/**/*.py
- .github/workflows/build.yml
- .github/workflows/build-python-311-linux.yml
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
- reopened

jobs:
build:
uses: ./.github/workflows/build.yml
with:
python_version: 3.12
os: ubuntu-latest
22 changes: 22 additions & 0 deletions .github/workflows/build-python-312-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 3.12

on:
push:
paths:
- src/**/*.py
- tests/**/*.py
- .github/workflows/build.yml
- .github/workflows/build-python-311-macos.yml
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
- reopened

jobs:
build:
uses: ./.github/workflows/build.yml
with:
python_version: 3.12
os: macos-latest
22 changes: 22 additions & 0 deletions .github/workflows/build-python-312-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 3.12

on:
push:
paths:
- src/**/*.py
- tests/**/*.py
- .github/workflows/build.yml
- .github/workflows/build-python-311-windows.yml
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
- reopened

jobs:
build:
uses: ./.github/workflows/build.yml
with:
python_version: 3.12
os: windows-latest
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
python-version: ${{ inputs.python_version }}
- name: Install test requirements
run: pip install -r requirements.txt
- name: Install setuptools
run: pip install setuptools
- name: Install the package
run: python setup.py develop
- name: Run Tests
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ job: Chief Operating Officer
![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-39-windows.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-39-macos.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-39-linux.yml/badge.svg)|
![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-310-windows.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-310-macos.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-310-linux.yml/badge.svg)|
![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-311-windows.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-311-macos.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-311-linux.yml/badge.svg)|
![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-312-windows.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-312-macos.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-312-linux.yml/badge.svg)|

## Supported data types

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pytest-cov
pandas
faker
typing_inspect
setuptools

0 comments on commit f00ad45

Please sign in to comment.