diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b52f0f4..232c3c2 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -64,9 +64,9 @@ jobs: sccache: 'true' manylinux: auto - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-linux-${{ matrix.target }} path: dist windows: @@ -87,9 +87,9 @@ jobs: args: --release --out dist --find-interpreter --manifest-path polars_hash/Cargo.toml sccache: 'true' - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-windows-${{ matrix.target }} path: dist macos: @@ -109,9 +109,9 @@ jobs: args: --release --out dist --find-interpreter --manifest-path polars_hash/Cargo.toml sccache: 'true' - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-macos-${{ matrix.target }} path: dist sdist: @@ -124,18 +124,28 @@ jobs: command: sdist args: --out dist --manifest-path polars_hash/Cargo.toml - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-sdist path: dist + merge_wheels: + runs-on: ubuntu-latest + needs: [linux_tests, linux, macos, windows, sdist] + steps: + - name: Merge wheels + uses: actions/upload-artifact/merge@v4 + with: + name: wheels + pattern: wheels-* + release: name: Release runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" - needs: [linux_tests, linux, macos, windows, sdist] + needs: [linux_tests, linux, macos, windows, sdist, merge_wheels] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: wheels - name: Publish to PyPI @@ -144,4 +154,4 @@ jobs: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: command: upload - args: --non-interactive --skip-existing * \ No newline at end of file + args: --non-interactive --skip-existing * diff --git a/polars_hash/Cargo.toml b/polars_hash/Cargo.toml index fd77407..192bd5d 100644 --- a/polars_hash/Cargo.toml +++ b/polars_hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polars_hash" -version = "0.5.2" +version = "0.5.3" edition = "2021" [lib] diff --git a/polars_hash/polars_hash/__init__.py b/polars_hash/polars_hash/__init__.py index 756a80f..dec2158 100644 --- a/polars_hash/polars_hash/__init__.py +++ b/polars_hash/polars_hash/__init__.py @@ -299,7 +299,8 @@ def __call__( self, exprs: IntoExpr | Iterable[IntoExpr], *more_exprs: IntoExpr, - seperator: str = "", + separator: str = "", + ignore_nulls: bool = False, ) -> HExpr: ... def __getattr__(self, name: str) -> pl.Expr: ... diff --git a/polars_hash/pyproject.toml b/polars_hash/pyproject.toml index 1cbdf0a..e877bec 100644 --- a/polars_hash/pyproject.toml +++ b/polars_hash/pyproject.toml @@ -18,6 +18,7 @@ authors = [ ] description = "Stable non-cryptographic and cryptographic hashing functions for Polars" readme = "README.md" +dynamic = ["version"] [project.urls] "Homepage" = "https://github.com/ion-elgreco/polars-hash"