Skip to content

Commit 7dcec64

Browse files
authored
chore: fix package definition (Merge pull request #771 from Hugovdberg/chore_fix_package_definition)
Chore fix package definition
2 parents c2460bf + 5961e5a commit 7dcec64

4 files changed

Lines changed: 32 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,43 @@ on:
1111
- cron: "27 19 * * 3"
1212

1313
jobs:
14+
lint_and_check_format:
15+
name: Lint and Check Formatting
16+
runs-on: windows-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Set up Python 3.10
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.10'
25+
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
python -m pip install ruff
30+
31+
- name: Lint with ruff
32+
run: |
33+
ruff check .
34+
35+
- name: Check formatting with ruff
36+
run: |
37+
ruff format --check
38+
1439
run_tests:
40+
name: Test with Python ${{ matrix.python-version }}
1541
runs-on: windows-latest
1642
strategy:
1743
fail-fast: false
1844
matrix:
1945
python-version: [
20-
'3.9'
21-
, '3.10'
46+
'3.10'
2247
, '3.11'
2348
, '3.12'
2449
]
25-
50+
needs: lint_and_check_format
2651
steps:
2752
- uses: actions/checkout@v4
2853

@@ -43,30 +68,6 @@ jobs:
4368
run: |
4469
pytest
4570
46-
lint_and_check_format:
47-
runs-on: windows-latest
48-
49-
steps:
50-
- uses: actions/checkout@v4
51-
52-
- name: Set up Python 3.10
53-
uses: actions/setup-python@v5
54-
with:
55-
python-version: '3.10'
56-
57-
- name: Install dependencies
58-
run: |
59-
python -m pip install --upgrade pip
60-
python -m pip install ruff
61-
62-
- name: Lint with ruff
63-
run: |
64-
ruff check .
65-
66-
- name: Check formatting with ruff
67-
run: |
68-
ruff format --check
69-
7071
# codacy-security-scan:
7172
# name: Codacy Security Scan
7273
# runs-on: ubuntu-latest

PIconnect/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# pragma pylint: enable=unused-import
1010

11-
__version__ = "0.11.2"
11+
__version__ = "0.12.0"
1212
__sdk_version = tuple(int(x) for x in AF.PISystems().Version.split("."))
1313

1414
__all__ = [

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ convention = "numpy"
4040

4141

4242
[tool.bumpversion]
43-
current_version = "0.11.2"
43+
current_version = "0.12.0"
4444
tag = false
4545
commit = true
4646
message = "chore: Bump version: {current_version} → {new_version}"

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@ project_urls =
3434
packages =
3535
PIconnect
3636
PIconnect._typing
37+
PIconnect._typing.dotnet
3738
install_requires =
3839
pandas
3940
wrapt
4041
pythonnet
41-
python_requires = >= 3.9
42+
python_requires = >= 3.10
4243
include_package_data = True
4344
zip_safe=False
4445

0 commit comments

Comments
 (0)