Skip to content

Commit 73c1792

Browse files
kkleinpavelzw
andauthored
Migrate from micromamba to pixi (#230)
* Draft usage of pixi. * Adapt more integration tests. * Adapt bigquery integration test task. * Migrate docs deployment to pixi. * Update build and publish. * Run postinstall for readthedocs. * Adapt liniting to rely on pixi. * Add pytest as dependency. * Adapt readthedocs configuration. * Update development instructions. * Switch to pixi in helper script. * Adapt development.rst. * Comment out impala run for debugging. * Move flit to host-dependencies. * Remove redundant dependency. * Update .github/workflows/ci.yaml Co-authored-by: Pavel Zwerschke <pavel.zwerschke@quantco.com> * Add color to ci tests. * Update .github/workflows/ci.yaml Co-authored-by: Pavel Zwerschke <pavel.zwerschke@quantco.com> * Update .github/workflows/ci.yaml Co-authored-by: Pavel Zwerschke <pavel.zwerschke@quantco.com> * Remove configurations which were erroneously added. * Remove configurations which were erroneously added. * Consistently use ubuntu-latest. * Update .github/workflows/ci.yaml Co-authored-by: Pavel Zwerschke <pavel.zwerschke@quantco.com> * Also run unit tests on macos and windows. * Fix impala test syntax. * Downgrade sqlalchemy version for impala tests. * Disable BigQuery tests for now. --------- Co-authored-by: Pavel Zwerschke <pavel.zwerschke@quantco.com>
1 parent 7a5a2e9 commit 73c1792

12 files changed

+16456
-271
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# GitHub syntax highlighting
2+
pixi.lock linguist-language=YAML linguist-generated=true

.github/workflows/build_and_publish.yaml

+3-11
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,14 @@ jobs:
1818
fail-fast: true
1919
steps:
2020
- uses: actions/checkout@v4
21-
with:
22-
fetch-depth: 0
23-
24-
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822
25-
with:
26-
environment-file: environment.yml
27-
21+
- name: Set up pixi
22+
uses: prefix-dev/setup-pixi@v0.8.1
2823
- name: Build
29-
shell: bash -l {0}
3024
# It seems as though flit publish expects a .pypirc file as compared to
3125
# only a token passed as an argument.
3226
# See https://flit.pypa.io/en/latest/cmdline.html#flit-publish
3327
run: |
34-
flit build
35-
28+
pixi run flit build
3629
- uses: actions/upload-artifact@v4
3730
with:
3831
path: dist/*
@@ -47,7 +40,6 @@ jobs:
4740
with:
4841
name: artifact
4942
path: dist
50-
5143
- uses: pypa/gh-action-pypi-publish@v1.9.0
5244
with:
5345
user: __token__

0 commit comments

Comments
 (0)