Skip to content

Commit

Permalink
Test/release against Python 3.12 (#339)
Browse files Browse the repository at this point in the history
Signed-off-by: Chad Wilson <[email protected]>
  • Loading branch information
chadlwilson committed Apr 12, 2024
1 parent af9c992 commit 435b2c7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.8
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.12'
cache: 'pip' # caching pip dependencies

- name: Setup git
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.8, 3.11]
python-version: [3.8, 3.12]

steps:
- uses: actions/checkout@v4
Expand All @@ -37,18 +37,19 @@ jobs:
functional-tests:
needs: test
name: FTs ${{ matrix.os }}
name: FTs ${{ matrix.os }} ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
python-version: [3.8, 3.12]
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.8
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '${{ matrix.python-version }}'
cache: 'pip' # caching pip dependencies

- name: Set up Go
Expand Down Expand Up @@ -92,18 +93,19 @@ jobs:
lsp-tests:
needs: test
name: LSP Tests ${{ matrix.os }}
name: LSP Tests ${{ matrix.os }} ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
python-version: [3.8, 3.12]
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.8
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '${{ matrix.python-version }}'
cache: 'pip' # caching pip dependencies

- name: Set up Nodejs
Expand Down
2 changes: 1 addition & 1 deletion python.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "python",
"version": "0.4.2",
"version": "0.4.3",
"description": "Python support for gauge",
"run": {
"windows": [
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ requests-toolbelt==1.0.0
rfc3986==2.0.0
rich==13.7.1
rply==0.7.8
setuptools==69.2.0
six==1.16.0
twine==5.0.0
urllib3==2.2.1
Expand Down
13 changes: 4 additions & 9 deletions setup.tmpl
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
from distutils.core import setup
from setuptools import setup

setup(
name='getgauge',
packages=['getgauge', 'getgauge/messages'],
version='{0}',
description='Enables Python support for Gauge',
author='Gauge Team',
author_email='getgauge@outlook.com',
author_email='getgauge@googlegroups.com',
url='https://github.com/getgauge/gauge-python',
download_url='https://github.com/getgauge/gauge-python/archive/v{0}.zip',
keywords=['testing', 'gauge', 'gauge-python', 'getgauge', 'automation'],
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
],
install_requires=['redBaron', 'debugpy', 'grpcio>=1.39.0', 'protobuf>=3.5.2'],
extras_require={1},
Expand Down

0 comments on commit 435b2c7

Please sign in to comment.