From cc5cdb049b9722592daacb7f280a25086675abf645833834bd03b0051ed16d96 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 4 Dec 2024 22:12:03 +0000 Subject: [PATCH] - Update to version 0.21.0: * Release v0.21.0 * Oh hello there zizmor. * Add a link to the upstream repo. * The packaging docs apparently discourage license. * bump pyO3 to 0.22.6 * Update requirements. * Drop support for 3.8, which is EOL. * Bump to 0.20.1. * Set --profile=dev in tests to catch issues like #86. * Bump pyo3 from 0.22.3 to 0.22.5 * Bump wntrblm/nox from 2024.04.15 to 2024.10.09 * [pre-commit.ci] pre-commit autoupdate * Bump pyo3 from 0.22.2 to 0.22.3 * Bump archery from 1.2.0 to 1.2.1 * Fix hashing overflow issues * Tag a release. * Minor comment typo. * [pre-commit.ci] pre-commit autoupdate * Bump hynek/setup-cached-uv from 1 to 2 * Tag a release. * Bump pyo3 from 0.22.1 to 0.22.2 * Better result handling * Fix ruff configuration section * Fix styling * Turn on hashing tests for HashTrieMap * Remove hash error handling for elements in HashTrieSet * Implement __hash__ for HashTrieMap * Fix tests * Remove __hash__ for HashTrieMap OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpds-py?expand=0&rev=5 --- .gitattributes | 23 +++++ .gitignore | 1 + _service | 25 ++++++ _servicedata | 4 + cargo_config | 5 ++ python-rpds-py.changes | 188 +++++++++++++++++++++++++++++++++++++++++ python-rpds-py.spec | 65 ++++++++++++++ rpds.py-0.21.0.obscpio | 3 + rpds.py-0.7.1.obscpio | 3 + rpds.py.obsinfo | 4 + vendor.tar.zst | 3 + 11 files changed, 324 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 cargo_config create mode 100644 python-rpds-py.changes create mode 100644 python-rpds-py.spec create mode 100644 rpds.py-0.21.0.obscpio create mode 100644 rpds.py-0.7.1.obscpio create mode 100644 rpds.py.obsinfo create mode 100644 vendor.tar.zst diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..4dd4032 --- /dev/null +++ b/_service @@ -0,0 +1,25 @@ + + + https://github.com/Julian/rpds.py + git + .git + v0.21.0 + @PARENT_TAG@ + enable + v(.*) + + + + rpds.py + true + + + rpds.py + + + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..ba10a3e --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/Julian/rpds.py + 73581d8dfc56a24eac6ee32c83e6759b4506bb71 \ No newline at end of file diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/python-rpds-py.changes b/python-rpds-py.changes new file mode 100644 index 0000000..f090a78 --- /dev/null +++ b/python-rpds-py.changes @@ -0,0 +1,188 @@ +------------------------------------------------------------------- +Wed Dec 04 07:42:20 UTC 2024 - adrian@suse.de + +- Update to version 0.21.0: + * Release v0.21.0 + * Oh hello there zizmor. + * Add a link to the upstream repo. + * The packaging docs apparently discourage license. + * bump pyO3 to 0.22.6 + * Update requirements. + * Drop support for 3.8, which is EOL. + * Bump to 0.20.1. + * Set --profile=dev in tests to catch issues like #86. + * Bump pyo3 from 0.22.3 to 0.22.5 + * Bump wntrblm/nox from 2024.04.15 to 2024.10.09 + * [pre-commit.ci] pre-commit autoupdate + * Bump pyo3 from 0.22.2 to 0.22.3 + * Bump archery from 1.2.0 to 1.2.1 + * Fix hashing overflow issues + * Tag a release. + * Minor comment typo. + * [pre-commit.ci] pre-commit autoupdate + * Bump hynek/setup-cached-uv from 1 to 2 + * Tag a release. + * Bump pyo3 from 0.22.1 to 0.22.2 + * Better result handling + * Fix ruff configuration section + * Fix styling + * Turn on hashing tests for HashTrieMap + * Remove hash error handling for elements in HashTrieSet + * Implement __hash__ for HashTrieMap + * Fix tests + * Remove __hash__ for HashTrieMap + * Fix testing + * Re-implement __hash__ for unordered collections + * Make Python versions in GitHub Actions consistent + * Move to the v4 artifact actions. + * Newer ruff + minor linter tweaks. + * Let pre-commit.ci handle pre-commit. + * uv in the noxfile and CI. + * Add the 3.13 classifier. + * Bump to 0.19.0 + * Update requirements. + * Revise inline comments + * Implement __hash__ for HashTrieMap + * Add __hash__ to ListPy + * Implement __hash__ for HashTrieSetPy + * Update PyO3 from 0.22.0 to 0.22.1 + * Use #[derive(FromPyObject)] instead of manual impl + * Remove redundant Python::wiht_gil calls + * Add Python 3.13 to GitHub actions CI + * Fix clippy warnings + * Remove redundant Python::with_gil calls + * Fix formatting + * WIP + * WIP + * Bump pyo3 from 0.20.3 to 0.22.0 + * [pre-commit.ci] pre-commit autoupdate + * deps: bump libc from 0.2.147 to 0.2.155 + * WIP + * Tag a release for PyO3 0.20.3 support. + * [pre-commit.ci] pre-commit autoupdate + * Update requirements. + * [pre-commit.ci] pre-commit autoupdate + * Bump wntrblm/nox from 2024.03.02 to 2024.04.15 + * [pre-commit.ci] pre-commit autoupdate + * [pre-commit.ci] pre-commit autoupdate + * Bump softprops/action-gh-release from 1 to 2 + * Bump wntrblm/nox from 2023.04.22 to 2024.03.02 + * Bump archery from 1.1.0 to 1.2.0 + * Bump pyo3 from 0.20.2 to 0.20.3 + * I'm one person, not two. + * [pre-commit.ci] pre-commit autoupdate + * Type annotation and test for HashTrieMap.update. + * [pre-commit.ci] pre-commit autoupdate + * Bump pre-commit/action from 3.0.0 to 3.0.1 + * [pre-commit.ci] auto fixes from pre-commit.com hooks + * [pre-commit.ci] pre-commit autoupdate + * Implement Queue.__hash__. + * Explicitly remind ourselves that dict.values != dict.values in the tests. + * Yet again, same mistake. + * Remove a non-doc dependency. + * Reimplement view types for maps. + * Start reworking the HashTrieMap methods that should return views. + * And same for HashTrieMap. + * And now an iterator for HashTrieSet. + * Trim down the manual Py wrapping too. + * Proper List + Queue iterators. + * Bump pyo3 from 0.20.1 to 0.20.2 + * Bump pyo3 from 0.20.0 to 0.20.1 + * Type annotation for fromkeys. + * Release v0.16.1 + * Add HashTrieMap.fromkeys with dict.fromkeys' signature. + * [pre-commit.ci] pre-commit autoupdate + * Fix the Queue type annotations. + * Install cargo in RTD. + * Release v0.15.0 for docs! + * Still install the package obviously, and minor spelling and style fix. + * Enable the rest of the ruff rulesets. + * Simple docs. + * Fix HashTrieMap.get to properly take 2 arguments. + * Le type annotacions + * Expose rpds.Queue. + * [pre-commit.ci] pre-commit autoupdate + * Bump actions/setup-python from 4 to 5 + * Update pre-commit hooks. + * Fix HashTrieMap __repr__s, which need to repr() the key as well. + * Add the explicit Tidelift link. + * Release v0.13.1. + * Fix `drop_first` method name for typing + * Release v0.13.0 + * Configure Black in pyproject.toml + * [pre-commit.ci] auto fixes from pre-commit.com hooks + * Add pickle support + * [pre-commit.ci] pre-commit autoupdate + * Bump rpds from 1.0.1 to 1.1.0 + * That's what I get for copy/paste. + * Skip Rust on pre-commit.ci which doesn't seem to have Rust installed. + * Bump archery from 1.0.0 to 1.1.0 + * List.drop_front + * Update for PyO3 0.20.0. + * Update pre-commit hooks. + * [pre-commit.ci] pre-commit autoupdate + * Publish to PyPI using trusted publishing. + * Try enabling sccache. + * Build wheel for Windows on Python 3.12 + * Give up entirely for now. + * Flail again for Windows. + * There is apparently no --release argument for sdist. + * Build an sdist in a separate explicit job. + * Give up for now. Let's get 3.12 working. + * Take 3 on PyPy+Windows. + * Try again to get PyPy 3.x versions on Windows. + * Drop PyPy 3.8 which seems to fail. + * Release v0.10.4 + * Try building wheels for more Windows interpreters as well. + * Release v0.10.3 + * Update test dependencies. + * Remove an unused test dependency on hypothesis + * Bump rpds from 1.0.0 to 1.0.1 + * Bump actions/checkout from 3 to 4 + * Release v0.10.2 + * Update pre-commit hooks. + * Enable clippy and fix what it complains about. + * Update requirements. + * Don't use nox.session.create_tmp. + * Release 0.10.0. + * Unused. + * Bump rpds from 0.13.0 to 1.0.0 + * Bump pyo3 from 0.19.1 to 0.19.2 + * Add a security policy. + * More correct listing of nox envs for the GitHub actions workflow + * Bump archery from 0.5.0 to 1.0.0 + * Take 3, try using setup-python with multiple versions. + * Try enabling pre-releases in the setup-python action. + * Declare support for 3.12. + * Link to rpds. + * Update deps and bump the version. + * Update target-lexicon to support loongarch64 architecture + * Again forget to bump the version properly... + * Try adding wheels for PyPy3.10 and CPython 3.12 + * Also build wheels for macOS 3.9 and others. + * Add a note on installation instructions (and the need for rust). + * One more wheel for aarch64. + * Fix the needs list as well. + * Let's see if this gets us MUSL wheels. + * Fix the badge URLs. + * Sigh and the lock too... + * Actually bump the version to 0.8.3. + * Add the missing Project URLs for PyPI + * Add rpds to known_first_party for isort. + * Bump to PyO3 v0.19 + * Bump pre-commit. + * Bump wntrblm/nox from 2022.11.21 to 2023.04.22 + * Update pre-commit hooks. + * Bump pyo3 from 0.18.2 to 0.18.3 + * Bump pyo3 from 0.18.1 to 0.18.2 + * Exclude bots from release notes. + +------------------------------------------------------------------- +Fri May 5 11:14:59 UTC 2023 - Johannes Kastl + +- add sle15_python_module_pythons + +------------------------------------------------------------------- +Mon Mar 20 14:29:30 UTC 2023 - Johannes Kastl + +- new package python-rpds-py, needed as dependency for jsonschema diff --git a/python-rpds-py.spec b/python-rpds-py.spec new file mode 100644 index 0000000..268f2ba --- /dev/null +++ b/python-rpds-py.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-rpds-py +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' +%{?sle15_python_module_pythons} +Name: python-rpds-py +Version: 0.21.0 +Release: 0 +Summary: Python bindings to Rust's persistent data structures (rpds) +License: MIT +URL: https://github.com/Julian/rpds.py +Source: rpds.py-%{version}.tar.gz +Source1: vendor.tar.zst +Source2: cargo_config +BuildRequires: %{python_module maturin} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: cargo +BuildRequires: cargo-packaging +BuildRequires: python-rpm-macros +BuildRequires: rust +BuildRequires: zstd +# Tests +BuildRequires: %{python_module pytest} +BuildRequires: fdupes +Requires: python-maturin >= 1.2 +%python_subpackages + +%description +Python bindings to Rust's persistent data structures (rpds) + +%prep +%autosetup -a1 -n rpds.py-%{version} +cp %{SOURCE2} .cargo/config + +%build +export RUSTFLAGS=%{rustflags} +%pyproject_wheel + +%install +export RUSTFLAGS=%{rustflags} +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%files %{python_files} +%{python_sitearch}/rpds +%{python_sitearch}/rpds_py-%{version}.dist-info/ + +%changelog diff --git a/rpds.py-0.21.0.obscpio b/rpds.py-0.21.0.obscpio new file mode 100644 index 0000000..3c42ebe --- /dev/null +++ b/rpds.py-0.21.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a81ea8bb9a724473944a58eba49830ee78ab4ee68516597d35a25873904e779 +size 115211 diff --git a/rpds.py-0.7.1.obscpio b/rpds.py-0.7.1.obscpio new file mode 100644 index 0000000..af9901c --- /dev/null +++ b/rpds.py-0.7.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f1945b235ef07463e80dea994be57f9e82974932d74352e56eff299cc01285e +size 58379 diff --git a/rpds.py.obsinfo b/rpds.py.obsinfo new file mode 100644 index 0000000..2fba911 --- /dev/null +++ b/rpds.py.obsinfo @@ -0,0 +1,4 @@ +name: rpds.py +version: 0.21.0 +mtime: 1730901040 +commit: 73581d8dfc56a24eac6ee32c83e6759b4506bb71 diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..96db542 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d61d6e3d36a3f1d2a540ea7fde1c12f771cbf18850c91d54d9117f35fc46da0 +size 1550555