Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-y-py for openSUSE:Factory checked in at 2023-10-10 20:52:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-y-py (Old) and /work/SRC/openSUSE:Factory/.python-y-py.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-y-py" Tue Oct 10 20:52:10 2023 rev:3 rq:1116537 version:0.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-y-py/python-y-py.changes 2023-06-13 16:09:48.930993541 +0200 +++ /work/SRC/openSUSE:Factory/.python-y-py.new.28202/python-y-py.changes 2023-10-10 20:52:23.940898251 +0200 @@ -1,0 +2,11 @@ +Mon Oct 9 18:26:36 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.6.2 + * Add package version by @davidbrochart in #125 + * Preliminary Array Insertion by @Waidhoferj in #130 + * Fix example by @davidbrochart in #135 + * Update pyo3 to 0.19.2 and add Python 3.12 support by + @frenzymadness in #138 + * Remove drop reference by @davidbrochart in #140 + +------------------------------------------------------------------- Old: ---- ypy-0.6.1.tar.xz New: ---- ypy-0.6.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-y-py.spec ++++++ --- /var/tmp/diff_new_pack.QxeKAG/_old 2023-10-10 20:52:26.108976819 +0200 +++ /var/tmp/diff_new_pack.QxeKAG/_new 2023-10-10 20:52:26.108976819 +0200 @@ -17,17 +17,17 @@ Name: python-y-py -Version: 0.6.1 +# Update through editing _service and running `osc service runall` +Version: 0.6.2 Release: 0 Summary: Python bindings for the Y-CRDT built from yrs (Rust) License: MIT URL: https://github.com/y-crdt/ypy -# Update through `osc service runall` Source: ypy-%{version}.tar.xz Source1: vendor.tar.xz Source2: cargo_config BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module maturin >= 0.14} +BuildRequires: %{python_module maturin >= 1.2.3 with %python-maturin < 2} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: cargo-packaging ++++++ _service ++++++ --- /var/tmp/diff_new_pack.QxeKAG/_old 2023-10-10 20:52:26.140977978 +0200 +++ /var/tmp/diff_new_pack.QxeKAG/_new 2023-10-10 20:52:26.144978123 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/y-crdt/ypy.git</param> <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@</param> - <param name="revision">@PARENT_TAG@</param> + <param name="revision">v0.6.2</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> </service> ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/python-y-py/vendor.tar.xz /work/SRC/openSUSE:Factory/.python-y-py.new.28202/vendor.tar.xz differ: char 26, line 1 ++++++ ypy-0.6.1.tar.xz -> ypy-0.6.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ypy-0.6.1/.github/workflows/test.yml new/ypy-0.6.2/.github/workflows/test.yml --- old/ypy-0.6.1/.github/workflows/test.yml 2023-03-15 14:58:35.000000000 +0100 +++ new/ypy-0.6.2/.github/workflows/test.yml 2023-10-05 07:33:47.000000000 +0200 @@ -25,18 +25,11 @@ uses: actions/checkout@v3 - name: Install micromamba - uses: mamba-org/provision-with-micromamba@main + uses: mamba-org/setup-micromamba@v1 with: environment-file: environment-dev.yml environment-name: ypy - extra-specs: python=${{ matrix.python-version }} - - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - default: true + create-args: python=${{ matrix.python-version }} - name: Install Dependencies run: pip install pytest maturin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ypy-0.6.1/.github/workflows/wheels.yml new/ypy-0.6.2/.github/workflows/wheels.yml --- old/ypy-0.6.1/.github/workflows/wheels.yml 2023-03-15 14:58:35.000000000 +0100 +++ new/ypy-0.6.2/.github/workflows/wheels.yml 2023-10-05 07:33:47.000000000 +0200 @@ -26,7 +26,7 @@ uses: PyO3/maturin-action@v1 with: target: x86_64 - args: --release --out dist --sdist -i 3.7 3.8 3.9 3.10 3.11 pypy3.8 pypy3.9 + args: --release --out dist --sdist -i 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 - name: Test built wheel - x86_64 run: | pip install y-py --no-index --find-links dist --force-reinstall @@ -35,7 +35,7 @@ - name: Build wheels - universal2 uses: PyO3/maturin-action@v1 with: - args: --release --universal2 --out dist -i 3.8 3.9 3.10 3.11 pypy3.8 pypy3.9 + args: --release --target universal2-apple-darwin --out dist -i 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 - name: Test built wheel - universal2 run: | pip install y-py --no-index --find-links dist --force-reinstall @@ -96,7 +96,7 @@ rust-toolchain: stable target: ${{ matrix.target }} manylinux: auto - args: --release --out dist -i 3.7 3.8 3.9 3.10 3.11 pypy3.8 pypy3.9 + args: --release --out dist -i 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 - name: Test built wheel if: matrix.target == 'x86_64' run: | @@ -125,7 +125,7 @@ rust-toolchain: stable target: ${{ matrix.target }} manylinux: auto - args: --release --out dist -i 3.7 3.8 3.9 3.10 3.11 pypy3.8 pypy3.9 + args: --release --out dist -i 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 - uses: uraimo/run-on-arch-action@v2.3.0 if: matrix.target != 'ppc64' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ypy-0.6.1/Cargo.toml new/ypy-0.6.2/Cargo.toml --- old/ypy-0.6.1/Cargo.toml 2023-03-15 14:58:35.000000000 +0100 +++ new/ypy-0.6.2/Cargo.toml 2023-10-05 07:33:47.000000000 +0200 @@ -1,8 +1,8 @@ [package] name = "y-py" -version = "0.6.1" -rust-version = "1.58" -edition = "2018" +version = "0.6.2" +rust-version = "1.72" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -15,5 +15,5 @@ yrs = "0.12.2" [dependencies.pyo3] -version = "0.16.5" +version = "0.19.2" features = ["extension-module"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ypy-0.6.1/README.md new/ypy-0.6.2/README.md --- old/ypy-0.6.1/README.md 2023-03-15 14:58:35.000000000 +0100 +++ new/ypy-0.6.2/README.md 2023-10-05 07:33:47.000000000 +0200 @@ -56,7 +56,7 @@ ## Using Hatch -If you are using `hatch`, there is a `test` environment matrix defined in `pyproject.toml` that will run commands in virtual environments for `py37` through `py311`. +If you are using `hatch`, there is a `test` environment matrix defined in `pyproject.toml` that will run commands in virtual environments for `py37` through `py312`. ``` hatch run test:maturin develop diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ypy-0.6.1/environment-dev.yml new/ypy-0.6.2/environment-dev.yml --- old/ypy-0.6.1/environment-dev.yml 2023-03-15 14:58:35.000000000 +0100 +++ new/ypy-0.6.2/environment-dev.yml 2023-10-05 07:33:47.000000000 +0200 @@ -3,3 +3,4 @@ - conda-forge dependencies: - pip + - rust diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ypy-0.6.1/pyproject.toml new/ypy-0.6.2/pyproject.toml --- old/ypy-0.6.1/pyproject.toml 2023-03-15 14:58:35.000000000 +0100 +++ new/ypy-0.6.2/pyproject.toml 2023-10-05 07:33:47.000000000 +0200 @@ -1,5 +1,5 @@ [build-system] -requires = ["maturin>=0.14,<0.15"] +requires = ["maturin>=1.2.3,<2"] build-backend = "maturin" [project] @@ -25,6 +25,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Rust", ] @@ -38,4 +39,4 @@ dependencies = ["pytest", "maturin"] [[tool.hatch.envs.test.matrix]] -python = ["37", "38", "39", "310", "311"] +python = ["37", "38", "39", "310", "311", "312"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ypy-0.6.1/src/y_transaction.rs new/ypy-0.6.2/src/y_transaction.rs --- old/ypy-0.6.1/src/y_transaction.rs 2023-03-15 14:58:35.000000000 +0100 +++ new/ypy-0.6.2/src/y_transaction.rs 2023-10-05 07:33:47.000000000 +0200 @@ -260,7 +260,6 @@ _traceback: Option<&'p PyAny>, ) -> PyResult<bool> { self.commit(); - drop(self); Ok(exception_type.is_none()) } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ypy-0.6.1/y_py.pyi new/ypy-0.6.2/y_py.pyi --- old/ypy-0.6.1/y_py.pyi 2023-03-15 14:58:35.000000000 +0100 +++ new/ypy-0.6.2/y_py.pyi 2023-10-05 07:33:47.000000000 +0200 @@ -38,8 +38,8 @@ with doc.begin_transaction() as txn: text = txn.get_text('name') text.extend(txn, 'hello world') - output = text.to_string(txn) - print(output) + + print(str(text)) """ client_id: int