Skip to content

Commit f723bdd

Browse files
authored
Merge branch 'main' into fix/-fix-copy-with-occurrence
2 parents 80ff2d6 + 66e7ac2 commit f723bdd

32 files changed

+389
-181
lines changed

.github/workflows/backwards_compatibility.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
.\.venv\Scripts\Activate.ps1
6868
python -m pip install --upgrade pip
6969
pip install --upgrade build wheel
70-
pip install .[tests]
70+
pip install . --group tests
7171
7272
- name: Login to GitHub Container Registry
7373
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
@@ -189,7 +189,7 @@ jobs:
189189
run: |
190190
python -m pip install --upgrade pip
191191
pip install --upgrade build wheel
192-
pip install -e .[tests]
192+
pip install -e . --group tests
193193
194194
- name: Download Geometry service container (if needed)
195195
env:

.github/workflows/ci_cd.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ jobs:
228228
run: |
229229
python -m pip install --upgrade pip
230230
pip install --upgrade build wheel
231-
pip install -e .[tests]
231+
pip install -e . --group tests
232232
233233
- name: Login to GitHub Container Registry
234234
if: env.SKIP_UNSTABLE == 'false'
@@ -349,6 +349,7 @@ jobs:
349349
needs-quarto: true
350350
dependencies: 'pandoc'
351351
sphinxopts: '-j 1 -W --color'
352+
group-dependencies-name: "doc"
352353

353354
- name: Stop the Geometry service
354355
if: always()
@@ -446,6 +447,7 @@ jobs:
446447
python-version: ${{ env.MAIN_PYTHON_VERSION }}
447448
checkout: false
448449
randomize: true
450+
group-dependencies-name: "tests"
449451

450452
- name: Upload coverage to Codecov
451453
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
@@ -515,8 +517,7 @@ jobs:
515517
- name: Install minimum requirements
516518
run: |
517519
python -m pip install --upgrade pip
518-
pip install -e .[all,tests-minimal]
519-
pip install pytest
520+
pip install -e .[all] --group tests-minimal
520521
521522
- name: Start Geometry service and verify start
522523
env:
@@ -568,7 +569,7 @@ jobs:
568569
- name: Install minimum requirements
569570
run: |
570571
python -m pip install --upgrade pip
571-
pip install -e .[tests-minimal]
572+
pip install -e . --group tests-minimal
572573
# Uninstall pytest-pyvista (not needed for these tests)
573574
pip uninstall -y pytest-pyvista
574575
# Installing docker (needed for the tests)
@@ -741,7 +742,7 @@ jobs:
741742
python -m venv .venv
742743
.\.venv\Scripts\Activate.ps1
743744
python -m pip install --upgrade pip
744-
pip install -e .[tests]
745+
pip install -e . --group tests
745746
746747
- name: Restore images cache
747748
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
@@ -842,7 +843,7 @@ jobs:
842843
- name: Validate connection using PyAnsys Geometry
843844
run: |
844845
python -m pip install --upgrade pip
845-
pip install -e .[tests]
846+
pip install -e . --group tests
846847
847848
- name: Start Geometry service and verify start
848849
env:
@@ -868,6 +869,7 @@ jobs:
868869
pytest-extra-args: "--use-existing-service=yes"
869870
checkout: false
870871
randomize: true
872+
group-dependencies-name: "tests"
871873

872874
- name: "Compressing Linux Dockerfile"
873875
uses: vimtor/action-zip@1379ea20d4c5705669ba81fd626dd01b1c738f26 # v1.2

.github/workflows/nightly_docker_test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
- name: Install packages for testing
116116
run: |
117117
pip install --upgrade build
118-
pip install -e .[tests]
118+
pip install -e . --group tests
119119
120120
- name: Login to GitHub Container Registry
121121
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
@@ -214,6 +214,7 @@ jobs:
214214
ALLOW_PLOTTING: true
215215
with:
216216
python-version: ${{ env.MAIN_PYTHON_VERSION }}
217+
group-dependencies-name: "tests"
217218

218219
- name: Stop the Geometry service
219220
if: always()

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ repos:
1515
- "max_line_length=120,retain_line_breaks=true,retain_line_breaks_single=true"
1616

1717
- repo: https://github.com/tox-dev/pyproject-fmt
18-
rev: v2.8.0
18+
rev: v2.10.0
1919
hooks:
2020
- id: pyproject-fmt
2121
args: [--keep-full-version]
2222

2323
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: v0.13.3
24+
rev: v0.14.0
2525
hooks:
2626
- id: ruff-check
2727
- id: ruff-format
@@ -49,7 +49,7 @@ repos:
4949

5050
# this validates our github workflow files
5151
- repo: https://github.com/python-jsonschema/check-jsonschema
52-
rev: 0.34.0
52+
rev: 0.34.1
5353
hooks:
5454
- id: check-github-workflows
5555

doc/changelog.d/2307.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Implement version based import
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump beartype from 0.21.0 to 0.22.2
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump matplotlib from 3.10.6 to 3.10.7
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Using group dependencies
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cleanup usage of EntityIdentifier
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump scipy (1.16.2) and numpy (2.3.3)

0 commit comments

Comments
 (0)