-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
740087f
commit 42ba550
Showing
6 changed files
with
3,773 additions
and
95 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 |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
!dagster_ray | ||
!tests | ||
!pyproject.toml | ||
!poetry.lock | ||
!poetry.toml | ||
!uv.lock | ||
!README.md | ||
!.pre-commit-config.yaml |
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 |
---|---|---|
|
@@ -24,24 +24,20 @@ jobs: | |
os: | ||
- Ubuntu | ||
py: | ||
# - "3.12" | ||
- "3.12" | ||
- "3.11" | ||
- "3.10" | ||
- "3.9" | ||
# - "3.8" | ||
steps: | ||
- name: Setup python for test ${{ matrix.py }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.py }} | ||
- uses: actions/checkout@v4 | ||
- name: Install and configure Poetry | ||
uses: snok/install-poetry@v1 | ||
- name: Install and configure uv | ||
uses: yezz123/setup-uv@v4 | ||
with: | ||
version: 1.8.2 | ||
virtualenvs-create: false | ||
virtualenvs-in-project: false | ||
installer-parallel: true | ||
uv-version: "0.1.12" | ||
- uses: azure/[email protected] | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
@@ -51,7 +47,7 @@ jobs: | |
start: false | ||
driver: docker | ||
- name: Install dependencies | ||
run: poetry install --all-extras --sync | ||
run: uv sync --all-extras --frozen | ||
- name: Run tests | ||
env: | ||
PYTEST_KUBERAY_VERSIONS: "1.0.0,1.1.0" # will run tests for all these KubeRay versions | ||
|
This file was deleted.
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,13 +1,21 @@ | ||
[tool.poetry] | ||
|
||
[project] | ||
authors = [ | ||
{name = "Daniel Gafni", email = "[email protected]"}, | ||
] | ||
license = {text = "Apache-2.0"} | ||
requires-python = ">=3.8.1" | ||
dependencies = [ | ||
"pyyaml>=4.0.0", | ||
"kubernetes>=20.0.0", | ||
"tenacity>=8.0.0", | ||
"ray[all]>=2.7.0", | ||
"dagster>=1.6.0", | ||
] | ||
name = "dagster-ray" | ||
version = "0.0.0" | ||
description = "Dagster integration library for Ray" | ||
authors = [ | ||
"Daniel Gafni <[email protected]>" | ||
] | ||
readme = "README.md" | ||
packages = [{include = "dagster_ray"}] | ||
repository = "https://github.com/danielgafni/dagster-ray" | ||
keywords = [ | ||
"dagster", | ||
"ray", | ||
|
@@ -23,50 +31,27 @@ classifiers = [ | |
"Operating System :: OS Independent", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
license = "Apache-2.0" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8.1,<3.13" | ||
pyyaml = ">=4.0.0" | ||
kubernetes = ">=20.0.0" # no idea what's a good lower bound | ||
tenacity = ">=8.0.0" | ||
ray = {extras = ["all"], version = ">=2.7.0"} | ||
dagster = ">=1.6.0" | ||
[project.urls] | ||
repository = "https://github.com/danielgafni/dagster-ray" | ||
|
||
[tool.poetry.extras] | ||
kuberay = [ | ||
"pyyaml", | ||
"kubernetes", | ||
"python-client", | ||
] | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
hypothesis = "^6.77.0" | ||
pytest = "^7.3.1" | ||
ruff = "^0.3.0" | ||
pyright = "^1.1.313" | ||
pre-commit = "^3.3.2" | ||
dagit = "^1.3.9" | ||
pytest-cases = "^3.6.14" | ||
pytest-kubernetes = "^0.3.1" | ||
blacken-docs = "^1.16.0" | ||
[tool.uv] | ||
dev-dependencies = [ | ||
"hypothesis<7.0.0,>=6.77.0", | ||
"pytest<8.0.0,>=7.3.1", | ||
"ruff<1.0.0,>=0.3.0", | ||
"pyright<2.0.0,>=1.1.313", | ||
"pre-commit<4.0.0,>=3.3.2", | ||
"dagit<2.0.0,>=1.3.9", | ||
"pytest-cases<4.0.0,>=3.6.14", | ||
"pytest-kubernetes<1.0.0,>=0.3.1", | ||
"blacken-docs<2.0.0,>=1.16.0", | ||
] | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry-dynamic-versioning] | ||
enable = true | ||
strict = false | ||
vcs = "git" | ||
style = "pep440" | ||
dirty = true | ||
|
||
[tool.poetry-dynamic-versioning.substitution] | ||
files = [ | ||
"pyproject.toml", | ||
"dagster_ray/_version.py" | ||
] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "-vvv --capture=no --log-disable=faker" | ||
|
Oops, something went wrong.