-
Notifications
You must be signed in to change notification settings - Fork 178
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: bump python deps for 3.10 and robot system updates #13865
Changes from 53 commits
fc709fe
f85279d
2617343
ae72dfa
5b12e03
d52da42
9ce515d
7abc8c4
d0873c1
4bac0da
7bdb66b
55a69ae
9863b6f
36dfd4e
85b9bc5
38fd3ae
476ca7d
c52e559
a231b7c
44fb1b8
bc89b9e
d3db24c
22ba840
1af3e92
03376ab
a68df58
219d461
e8eb7ff
54aa90d
35a1008
c9bf389
a8c4a4c
cab7ac6
a39381a
7f29911
29f423c
f350cb3
2209d45
01000de
fb4049f
c1cd530
e00b56c
d070d66
06fdb8b
86b2ba4
76b2244
5693a8f
d994e7d
a9eb1a7
47685e4
35f7ea5
3c2563d
4f79f6a
d82f20d
a0e8544
640d04d
59ecbb6
f9b09eb
82c88e7
5a41e94
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,6 @@ runs: | |
- shell: bash | ||
run: | | ||
npm install --global [email protected] | ||
$OT_PYTHON -m pip install pipenv==2021.5.29 | ||
$OT_PYTHON -m pip install pipenv==2023.11.15 | ||
- shell: bash | ||
run: 'make -C ${{ inputs.project }} setup' |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ jobs: | |
node-version: '16' | ||
- uses: 'actions/setup-python@v4' | ||
with: | ||
python-version: '3.7' | ||
python-version: '3.10' | ||
|
||
- uses: './.github/actions/python/setup' | ||
with: | ||
|
@@ -75,17 +75,13 @@ jobs: | |
os: ['windows-2022', 'ubuntu-22.04', 'macos-latest'] | ||
# TODO(mc, 2022-02-24): expand this matrix to 3.8 and 3.9, | ||
# preferably in a nightly cronjob on edge or something | ||
python: ['3.7', '3.10'] | ||
python: ['3.10'] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above re: keeping 3.7 support and testing for it |
||
with-ot-hardware: ['true', 'false'] | ||
exclude: | ||
- os: 'windows-2022' | ||
with-ot-hardware: 'true' | ||
- os: 'macos-latest' | ||
with-ot-hardware: 'true' | ||
- os: 'macos-latest' | ||
python: '3.10' | ||
- python: '3.10' | ||
with-ot-hardware: 'true' | ||
runs-on: '${{ matrix.os }}' | ||
steps: | ||
- uses: 'actions/checkout@v3' | ||
|
@@ -152,7 +148,7 @@ jobs: | |
node-version: '16' | ||
- uses: 'actions/setup-python@v4' | ||
with: | ||
python-version: '3.7' | ||
python-version: '3.10' | ||
- name: 'set complex environment variables' | ||
uses: actions/github-script@v6 | ||
with: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ jobs: | |
node-version: '16' | ||
- uses: 'actions/setup-python@v3' | ||
with: | ||
python-version: '3.7' | ||
python-version: '3.10' | ||
|
||
- uses: './.github/actions/python/setup' | ||
with: | ||
|
@@ -71,10 +71,8 @@ jobs: | |
os: ['windows-2022', 'ubuntu-22.04', 'macos-latest'] | ||
# TODO(mc, 2022-02-24): expand this matrix to 3.8 and 3.9, | ||
# preferably in a nightly cronjob on edge or something | ||
python: ['3.7', '3.10'] | ||
exclude: | ||
- os: 'macos-latest' | ||
python: '3.10' | ||
python: ['3.10'] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above re: python 3.7 support |
||
|
||
runs-on: '${{ matrix.os }}' | ||
steps: | ||
- uses: 'actions/checkout@v3' | ||
|
@@ -164,7 +162,7 @@ jobs: | |
run: sudo apt-get update && sudo apt-get install libudev-dev | ||
- uses: 'actions/setup-python@v4' | ||
with: | ||
python-version: '3.7' | ||
python-version: '3.10' | ||
- uses: './.github/actions/python/setup' | ||
with: | ||
project: 'shared-data/python' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ PYTHON_SETUP_TARGETS := $(addsuffix -py-setup, $(PYTHON_DIRS)) | |
|
||
.PHONY: setup-py | ||
setup-py: | ||
$(OT_PYTHON) -m pip install pipenv==2021.5.29 | ||
$(OT_PYTHON) -m pip install pipenv==2023.11.15 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above re: tested versions and pipenv versions |
||
$(MAKE) $(PYTHON_SETUP_TARGETS) | ||
|
||
|
||
|
@@ -266,4 +266,4 @@ test-js-internal: | |
|
||
.PHONY: test-js-% | ||
test-js-%: | ||
$(MAKE) test-js-internal tests="$(if $(tests),$(foreach test,$(tests),$*/$(test)),$*)" test_opts="$(test_opts)" cov_opts="$(cov_opts)" | ||
$(MAKE) test-js-internal tests="$(if $(tests),$(foreach test,$(tests),$*/$(test)),$*)" test_opts="$(test_opts)" cov_opts="$(cov_opts)" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,24 +7,24 @@ name = "pypi" | |
# atomicwrites and colorama are pytest dependencies on windows, | ||
# spec'd here to force lockfile inclusion | ||
# https://github.com/pypa/pipenv/issues/4408#issuecomment-668324177 | ||
atomicwrites = { version = "==1.4.0", sys_platform = "== 'win32'" } | ||
colorama = { version = "==0.4.4", sys_platform = "== 'win32'" } | ||
atomicwrites = { version = "==1.4.0", markers="sys_platform=='win32'" } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. one annoying subtle pipenv change was they altered how you spell markers in pipfiles |
||
colorama = { version = "==0.4.4", markers="sys_platform=='win32'" } | ||
coverage = "==5.1" | ||
mypy = "==0.910" | ||
mypy = "==0.981" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. needed for numpy support |
||
numpydoc = "==0.9.1" | ||
pytest = "==7.0.1" | ||
pytest-asyncio = "~=0.18" | ||
pytest-asyncio = "~=0.16" | ||
pytest-cov = "==2.10.1" | ||
pytest-lazy-fixture = "==0.6.3" | ||
pytest-xdist = "~=2.2.1" | ||
sphinx = "==5.0.1" | ||
twine = "==4.0.2" | ||
wheel = "==0.30.0" | ||
typeguard = "==2.12.1" | ||
pytest-xdist = "~=2.5.0" | ||
sphinx = "==4.4.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ecormany did you bump sphinx recently? if so, i'll bump it again here There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We've been sitting at 5.0.1. Far from the latest, but gets the job done. |
||
twine = "==4.0.0" | ||
wheel = "==0.37.0" | ||
typeguard = "==2.13.1" | ||
sphinx-substitution-extensions = "==2020.9.30.0" | ||
sphinxext-opengraph = "==0.8.1" | ||
sphinx-tabs = ">=3.4.1,<4" | ||
mock = "~=4.0.2" | ||
sphinx-tabs = ">=3.4.0,<4" | ||
mock = "~=4.0.3" | ||
flake8 = "~=3.9.0" | ||
flake8-annotations = "~=2.6.2" | ||
flake8-docstrings = "~=1.6.0" | ||
|
@@ -35,7 +35,7 @@ types-mock = "==4.0.1" | |
types-setuptools = "==57.0.2" | ||
opentrons-shared-data = { editable = true, path = "../shared-data/python" } | ||
opentrons = { editable = true, path = "." } | ||
opentrons-hardware = { editable = true, path = "./../hardware", extras= ["FLEX"] } | ||
opentrons-hardware = { editable = true, path = "./../hardware", extras=["FLEX"] } | ||
# specify typing-extensions explicitly to force lockfile inclusion on Python >= 3.8 | ||
typing-extensions = ">=4.0.0,<5" | ||
pytest-profiling = "~=1.7.0" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
among other things! note that we'll need to downgrade this to v2023.10.13 if we want to a) keep 3.7 support and b) ensure that by having i guess separate pipfiles (we shouldn't do this, if we want to do something like that we should set up a tox environment just for the api stack)