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: drop python 3.7 and use ruff/poetry-check/pyupgrade #119

Merged
merged 7 commits into from
Apr 1, 2024

Conversation

efiop
Copy link
Contributor

@efiop efiop commented Apr 1, 2024

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.

@efiop efiop force-pushed the ruslan/ci-lint-maintain branch 2 times, most recently from dfecaca to 0caab49 Compare April 1, 2024 15:53
.pre-commit-config.yaml Outdated Show resolved Hide resolved
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
Copy link
Contributor Author

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.

@efiop efiop changed the title chore: drop python 3.7 and use ruff/poetry-check/pyupgrade/pytest-xdist chore: drop python 3.7 and use ruff/poetry-check/pyupgrade Apr 1, 2024
@efiop
Copy link
Contributor Author

efiop commented Apr 1, 2024

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.

@efiop efiop force-pushed the ruslan/ci-lint-maintain branch 3 times, most recently from 8f23a2d to cbe48c8 Compare April 1, 2024 17:40
@efiop efiop requested a review from squat April 1, 2024 20:56
Copy link
Member

@chamini2 chamini2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@efiop efiop merged commit 3b13546 into main Apr 1, 2024
6 checks passed
@efiop efiop deleted the ruslan/ci-lint-maintain branch April 1, 2024 22:17
efiop added a commit that referenced this pull request May 23, 2024
* 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
efiop added a commit that referenced this pull request May 24, 2024
….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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants