Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v0.12.0 #772

Merged
merged 5 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 28 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,43 @@ on:
- cron: "27 19 * * 3"

jobs:
lint_and_check_format:
name: Lint and Check Formatting
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ruff

- name: Lint with ruff
run: |
ruff check .

- name: Check formatting with ruff
run: |
ruff format --check

run_tests:
name: Test with Python ${{ matrix.python-version }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: [
'3.9'
, '3.10'
'3.10'
, '3.11'
, '3.12'
]

needs: lint_and_check_format
steps:
- uses: actions/checkout@v4

Expand All @@ -43,30 +68,6 @@ jobs:
run: |
pytest

lint_and_check_format:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ruff

- name: Lint with ruff
run: |
ruff check .

- name: Check formatting with ruff
run: |
ruff format --check

# codacy-security-scan:
# name: Codacy Security Scan
# runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion PIconnect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# pragma pylint: enable=unused-import

__version__ = "0.11.2"
__version__ = "0.12.0"
__sdk_version = tuple(int(x) for x in AF.PISystems().Version.split("."))

__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ convention = "numpy"


[tool.bumpversion]
current_version = "0.11.2"
current_version = "0.12.0"
tag = false
commit = true
message = "chore: Bump version: {current_version} → {new_version}"
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ project_urls =
packages =
PIconnect
PIconnect._typing
PIconnect._typing.dotnet
install_requires =
pandas
wrapt
pythonnet
python_requires = >= 3.9
python_requires = >= 3.10
include_package_data = True
zip_safe=False

Expand Down
Loading