-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update of dependencies, python 3.12 only
- Loading branch information
ZdenekM
committed
Feb 11, 2025
1 parent
26e666f
commit 03cb245
Showing
109 changed files
with
1,424 additions
and
2,547 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
application-import-names = arcor2,arcor2_arserver,arcor2_arserver_data,arcor2_build,arcor2_build_data,arcor2_calibration,arcor2_execution,arcor2_execution_data,arcor2_fit_demo,arcor2_kinali,arcor2_mocks | ||
ignore = B306, E203, E231, W503 | ||
ignore = B306, E203, E231, W503, E226, E704 | ||
known-modules = numpy-quaternion:[quaternion],lru-dict:[lru] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
needs: org-check | ||
strategy: | ||
matrix: | ||
python-version: ['3.11'] | ||
python-version: ['3.12'] | ||
steps: | ||
- name: Maximize build space | ||
uses: easimon/maximize-build-space@v10 | ||
|
@@ -47,7 +47,7 @@ jobs: | |
- uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: jazzy | ||
- uses: pantsbuild/actions/init-pants@v5-scie-pants | ||
- uses: pantsbuild/actions/init-pants@v6-scie-pants | ||
with: | ||
pants-python-version: ${{ matrix.python-version }} | ||
gha-cache-key: cache0-py${{ matrix.python-version }} | ||
|
@@ -62,19 +62,20 @@ jobs: | |
sudo apt update | ||
sudo apt install jq cargo | ||
sudo ./build-support/install_ur_dependencies.sh | ||
pip install --force-reinstall pyyaml | ||
- name: Lint | ||
run: | | ||
pants --changed-since=origin/master lint | ||
- name: Typecheck | ||
run: | | ||
pants check --changed-since=origin/master --changed-dependees=transitive | ||
pants check --changed-since=origin/master --changed-dependents=transitive | ||
- name: Test | ||
run: | | ||
source /opt/ros/jazzy/setup.bash | ||
pants --changed-since=origin/master --changed-dependees=transitive test | ||
pants --changed-since=origin/master --changed-dependents=transitive test | ||
- name: Build Docker images | ||
run: | # filter out non-essential docker images (there was a problem with full storage on github) | ||
pants filter --target-type=docker_image --changed-since=origin/master --changed-dependees=transitive | grep -v arcor2_3d_mouse | grep -v arcor2_fanuc arcor2_fanuc_upload_object_types | xargs pants package | ||
pants filter --target-type=docker_image --changed-since=origin/master --changed-dependents=transitive | grep -v arcor2_3d_mouse | grep -v arcor2_fanuc arcor2_fanuc_upload_object_types | xargs pants package | ||
- name: Build Python packages | ||
run: | | ||
pants filter --target-type=python_distribution :: | xargs pants package | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
black==24.10.0 | ||
typing-extensions==4.12.2 | ||
tomli==2.2.1 |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
mypy==1.11.2 | ||
mypy==1.14.1 | ||
numpy~=1.26.4 |
Oops, something went wrong.