Skip to content

Commit

Permalink
feat: onboard Python 3.12 (#94)
Browse files Browse the repository at this point in the history
* feat: onboard Python 3.12

* ci: build before release
  • Loading branch information
artemrys committed Oct 9, 2023
1 parent 13475b7 commit 23fdfc5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build-test-release.yml
Expand Up @@ -41,7 +41,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11" ]
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
Expand All @@ -54,7 +54,7 @@ jobs:
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-results-unit-python
name: test-results-unit-python-${{ matrix.python-version }}
path: test-results/*

compliance-copyrights:
Expand Down Expand Up @@ -92,11 +92,10 @@ jobs:
gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}
extra_plugins: |
@google/semantic-release-replace-plugin
semantic-release-replace-plugin
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}
- if: ${{ steps.semantic.outputs.new_release_published == 'true' }}
uses: splunk/pypi-publish-action@v1.0
with:
pypi_username: ${{ secrets.PYPI_USERNAME }}
pypi_token: ${{ secrets.PYPI_TOKEN }}
run: |
poetry build
poetry publish -n -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .releaserc
Expand Up @@ -8,7 +8,7 @@
[
"@semantic-release/commit-analyzer",
[
"@google/semantic-release-replace-plugin",
"semantic-release-replace-plugin",
{
"replacements": [
{
Expand Down
15 changes: 15 additions & 0 deletions pyproject.toml
Expand Up @@ -19,6 +19,21 @@ name = "addonfactory_splunk_conf_parser_lib"
version = "0.3.4"
description = "Splunk .conf files parser"
authors = ["Splunk <addonfactory@splunk.com>"]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License"
]

readme = "README.md"

Expand Down

0 comments on commit 23fdfc5

Please sign in to comment.