-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/check_duplicate_dependencies
- Loading branch information
Showing
53 changed files
with
9,890 additions
and
4,236 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# GitHub syntax highlighting | ||
pixi.lock linguist-language=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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# pixi environments | ||
.pixi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[project] | ||
name = "polarify-use-case" | ||
channels = ["conda-forge"] | ||
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"] | ||
|
||
[tasks] | ||
postinstall = "pip install --no-build-isolation --no-deps --disable-pip-version-check -e ." | ||
start = 'python -c "import sys; print(f\"Python version: {sys.version}\"); import polars; print(f\"Polars version: {polars.__version__}\")"' | ||
|
||
[dependencies] | ||
python = ">=3.9" | ||
pip = "*" | ||
polars = ">=0.14.24,<0.21" | ||
|
||
[feature.py39.dependencies] | ||
python = "3.9.*" | ||
[feature.py310.dependencies] | ||
python = "3.10.*" | ||
[feature.py311.dependencies] | ||
python = "3.11.*" | ||
[feature.py312.dependencies] | ||
python = "3.12.*" | ||
[feature.pl017.dependencies] | ||
polars = "0.17.*" | ||
[feature.pl018.dependencies] | ||
polars = "0.18.*" | ||
[feature.pl019.dependencies] | ||
polars = "0.19.*" | ||
[feature.pl020.dependencies] | ||
polars = "0.20.*" | ||
|
||
[feature.test.dependencies] | ||
pytest = "*" | ||
pytest-md = "*" | ||
pytest-emoji = "*" | ||
hypothesis = "*" | ||
[feature.test.tasks] | ||
test = "pytest -s" | ||
|
||
[feature.lint.dependencies] | ||
pre-commit = "*" | ||
[feature.lint.tasks] | ||
lint = "pre-commit run --all" | ||
|
||
[environments] | ||
pl017 = ["pl017", "py310", "test"] | ||
pl018 = ["pl018", "py39", "test"] | ||
pl019 = ["pl019", "py39", "test"] | ||
pl020 = ["pl020", "py312", "test"] | ||
py39 = ["py39", "test"] | ||
py310 = ["py310", "test"] | ||
py311 = ["py311", "test"] | ||
py312 = ["py312", "test"] | ||
|
||
## test this with: | ||
#pixi run -e pl017 test | ||
#pixi run -e pl018 test | ||
#pixi run -e pl019 test | ||
#pixi run -e pl020 test | ||
#pixi run -e py39 start | ||
#pixi run -e py310 start | ||
#pixi run -e py311 start | ||
#pixi run -e py312 start |
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,7 @@ | ||
import polars | ||
import sys | ||
|
||
def test_versions(): | ||
print("") # empty line | ||
print(f"Polars version: {polars.__version__}") | ||
print(f"Python version: {sys.version}") |
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
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
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
Oops, something went wrong.