-
Notifications
You must be signed in to change notification settings - Fork 6
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: drop python 3.7 and use ruff/poetry-check/pyupgrade #119
Conversation
dfecaca
to
0caab49
Compare
.github/workflows/test.yml
Outdated
run: | | ||
python -m pip install uv | ||
|
||
- name: Test | ||
run: | | ||
export ISOLATE_PYENV_EXECUTABLE=pyenv/bin/pyenv | ||
python -m pytest -vvv | ||
python -m pytest -vvv -n auto |
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.
Looks like some of our stuff is running into each other, will do that in a separate PR.
0caab49
to
1b443d4
Compare
Let me see if I can bring back (i mean back into this PR) xdist, it cut time by half but was causing some issues in our tests. Will do it in a separate PR. |
8f23a2d
to
cbe48c8
Compare
cbe48c8
to
b252ab4
Compare
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.
LGTM
* lint: use ruff * chore: add poetry-check to pre-commit * chore: drop python 3.7 * chore: add pre-commit to gha * chore: run tests on schedule * chore: only test 3.8 and 3.11 on macos * fix(test): readlinks for python before comparing
….7 (#136) * chore: revert to v0.12.7 * build: add cloudpickle to agent requirements (#118) * chore: drop python 3.7 and use ruff/poetry-check/pyupgrade (#119) * lint: use ruff * chore: add poetry-check to pre-commit * chore: drop python 3.7 * chore: add pre-commit to gha * chore: run tests on schedule * chore: only test 3.8 and 3.11 on macos * fix(test): readlinks for python before comparing * fix(conda): use --yes instead of --force (#123) A few days ago conda 24.3.0 removed `--force` completely causing this to no longer work. `--yes` has been around for more than a year now and we don't really need to support old conda/miniconda so we can just directly replace it and not bother with compatibility with older versions. https://github.com/conda/conda/releases/tag/24.3.0 * chore: revisit build/test/release process (#126) * chore: use setuptools instead of poetry * chore: introduce dev extra * chore(gha): revisit release process * chore: activate more ruff rules * chore: delete cliff.toml (#127) No longer used. * feat(backend): Add container backend (#135) --------- Co-authored-by: Kemal Akkoyun <[email protected]>
Starting to deal with isolate a bit more and our lint and ci are pretty slow, so done a little bit of cleanup to speed it up by using ruff and a few more linters. No functional changes.