From 57c55ee0b5bc352f24b7f25d24484c3ab0a2c5c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Kr=C3=A1l?= Date: Mon, 2 Dec 2024 17:37:01 +0100 Subject: [PATCH] Remove duplicate list of requirements And bump the PyPI package version --- .github/workflows/maturin_ci.yml | 2 -- pyproject.toml | 18 +----------------- rust/Cargo.toml | 2 +- src/sedpack/__init__.py | 2 +- 4 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/maturin_ci.yml b/.github/workflows/maturin_ci.yml index b97b56c0..5518e8f5 100644 --- a/.github/workflows/maturin_ci.yml +++ b/.github/workflows/maturin_ci.yml @@ -55,7 +55,6 @@ jobs: python3 -m venv .venv source .venv/bin/activate pip install sedpack --find-links dist --force-reinstall - pip install --require-hashes --no-deps -r requirements.txt # TODO workaround pip install pytest pytest - name: pytest @@ -71,7 +70,6 @@ jobs: pip3 install -U pip pytest run: | set -e - pip3 install --require-hashes --no-deps -r requirements.txt # TODO workaround pip3 install sedpack --find-links dist --force-reinstall pytest diff --git a/pyproject.toml b/pyproject.toml index 2fb65377..94cd5427 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,23 +31,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", ] dynamic = ["version"] -dependencies = [ - "aiofiles", - "asyncstdlib", - "flatbuffers", - "lz4", - "numpy", - "perfcounters", - "pydantic", - "pytest", - "pytest-asyncio", - "schema", - "semver", - "tabulate", - "tensorflow", - "termcolor", - "tqdm", -] +dependencies = {file = ["requirements.txt"]} [project.optional-dependencies] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index cd457f45..b9100577 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sedpack_rs" -version = "0.1.0" +version = "0.1.1" edition = "2021" description = "Rust bindings for sedpack a general ML dataset package" authors = [ diff --git a/src/sedpack/__init__.py b/src/sedpack/__init__.py index 53475b70..716bffbf 100644 --- a/src/sedpack/__init__.py +++ b/src/sedpack/__init__.py @@ -16,4 +16,4 @@ Format: MAJOR.MINOR.PATCH (see https://pypi.org/project/semver/ for more possibilities) """ -__version__ = "0.0.6" +# The version of this package is defined by rust/Cargo.toml