Skip to content

Commit 4197fa1

Browse files
committed
build: Include source polars in main package only (#24642)
1 parent d0914d4 commit 4197fa1

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/polars-python/src/c_api/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pub mod allocator;
33

44
// Since Python Polars cannot share its version into here and we need to be able to build this
55
// package correctly without `py-polars`, we need to mirror the version here.
6-
pub static PYPOLARS_VERSION: &str = "1.34.0-beta.3";
6+
pub static PYPOLARS_VERSION: &str = "1.34.0-beta.4";
77
pub static RUNTIME_REPR: &str = "unknown";
88

99
use pyo3::prelude::*;

py-polars/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "py-polars"
3-
version = "1.34.0-beta.3"
3+
version = "1.34.0-beta.4"
44
edition = "2021"
55

66
[lib]

py-polars/polars/_plr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from polars._cpu_check import check_cpu_flags
99

10-
PKG_VERSION = "1.34.0-beta.3"
10+
PKG_VERSION = "1.34.0-beta.4"
1111

1212
# Replaced during the build process with our list of required feature flags
1313
# enabled at compile time.

py-polars/polars/pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ build-backend = "setuptools.build_meta"
55
[tool.setuptools]
66
packages = ["polars"]
77

8+
[tool.setuptools.package-data]
9+
polars = ["**/*"]
10+
811
[project]
912
name = "polars"
1013
description = "Blazingly fast DataFrame library"
1114
readme = "README.md"
1215
authors = [
1316
{ name = "Ritchie Vink", email = "ritchie46@gmail.com" },
1417
]
15-
version = "1.34.0b3"
18+
version = "1.34.0b4"
1619
license = { file = "LICENSE" }
1720
requires-python = ">=3.9"
1821

@@ -35,7 +38,7 @@ classifiers = [
3538
"Topic :: Scientific/Engineering",
3639
"Typing :: Typed",
3740
]
38-
dependencies = ["polars-runtime-32 == 1.34.0b3"]
41+
dependencies = ["polars-runtime-32 == 1.34.0b4"]
3942

4043
[project.urls]
4144
Homepage = "https://www.pola.rs/"
@@ -45,8 +48,8 @@ Changelog = "https://github.com/pola-rs/polars/releases"
4548

4649
[project.optional-dependencies]
4750
# Runtimes
48-
rt64 = ["polars-runtime-64 == 1.34.0b3"]
49-
rtcompat = ["polars-runtime-compat == 1.34.0b3"]
51+
rt64 = ["polars-runtime-64 == 1.34.0b4"]
52+
rtcompat = ["polars-runtime-compat == 1.34.0b4"]
5053

5154
# NOTE: keep this list in sync with show_versions() and requirements-dev.txt
5255
polars_cloud = ["polars_cloud >= 0.0.1a1"]

py-polars/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Repository = "https://github.com/pola-rs/polars"
4040
Changelog = "https://github.com/pola-rs/polars/releases"
4141

4242
[tool.maturin]
43-
include = [{ path = "rust-toolchain.toml", format = "sdist" }, { path = "polars/**/*", format = ["sdist", "wheel"] }]
43+
include = [{ path = "rust-toolchain.toml", format = "sdist" }, { path = "polars/**/*", format = ["sdist"] }]
4444

4545
[tool.mypy]
4646
files = ["polars", "tests"]

0 commit comments

Comments
 (0)