Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-watchfiles for
openSUSE:Factory checked in at 2023-05-13 17:17:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-watchfiles (Old)
and /work/SRC/openSUSE:Factory/.python-watchfiles.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-watchfiles"
Sat May 13 17:17:30 2023 rev:2 rq:1086636 version:0.19.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-watchfiles/python-watchfiles.changes
2022-08-08 08:44:58.622414323 +0200
+++
/work/SRC/openSUSE:Factory/.python-watchfiles.new.1533/python-watchfiles.changes
2023-05-13 17:17:43.214408376 +0200
@@ -1,0 +2,31 @@
+Thu May 11 18:43:46 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to v0.19.0
+ * Better error on OS watcher limit by @samuelcolvin in #208
+ * Switch flake8->ruff by @TheoBabilon in #212
+ * Simplify Change.raw_str() by @davidbrochart in #211
+ * Upgrade maturin to 0.14 by @messense in #214
+ * Fix bug in RustNotify causing RuntimeError: Already borrowed on
+ exit/signal by @vrslev in #221
+ * Update pyo3 to 0.18.2 by @messense in #222
+- Release v0.18.1
+ * uprev pyo3, relax anyio constraint by @samuelcolvin in #203
+ * switch pytest-sugar -> pytest-pretty by @samuelcolvin in #204
+- Release v0.18.0
+ * Force polling on WSL #194
+ * increase default polling delay to 300ms #196
+- Release v0.17.0
+ * uprev notify to 5.0.0-pre.16, #182
+ * Add option to disable recursion by @bvanelli in #183
+ * upgrade to notify 5.0.0, #184
+ * Lock all requirements, #185
+- Release v0.16.0
+ * make RustNotify a context manager and kill the thread on exit
+ #164
+ * Support WATCHFILES_FORCE_POLLING env var #170
+ * fallback to poll watcher on OS Error 38 #172
+ * --verbose argument and improve bug template #174
+- Switch from PyPI sdist to github archive: docs missing, required
+ for tests
+
+-------------------------------------------------------------------
Old:
----
watchfiles-0.15.0.tar.gz
New:
----
watchfiles-0.19.0-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-watchfiles.spec ++++++
--- /var/tmp/diff_new_pack.dzsCmd/_old 2023-05-13 17:17:45.270420206 +0200
+++ /var/tmp/diff_new_pack.dzsCmd/_new 2023-05-13 17:17:45.274420228 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-watchfiles
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,30 +17,30 @@
Name: python-watchfiles
-Version: 0.15.0
+Version: 0.19.0
Release: 0
Summary: File watching and code reload in python
License: MIT
URL: https://github.com/samuelcolvin/watchfiles
-Source0:
https://files.pythonhosted.org/packages/source/w/watchfiles/watchfiles-%{version}.tar.gz
+Source0:
https://github.com/samuelcolvin/watchfiles/archive/refs/tags/v%{version}.tar.gz#/watchfiles-%{version}-gh.tar.gz
Source1: vendor.tar.xz
# PATCH-FEATURE-OPENSUSE cargo_config.patch [email protected] -- replace
cargo config
Patch0: cargo_config.patch
-BuildRequires: %{python_module anyio >= 3.0.0 with %python-anyio < 4}
+BuildRequires: %{python_module anyio >= 3.0.0}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: cargo-packaging
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: python3-maturin >= 0.13
-Requires: (python-anyio >= 3.0.0 with python-anyio < 4)
+BuildRequires: python3-maturin >= 0.14.16
+Requires: python-anyio >= 3.0.0
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
# SECTION test
BuildRequires: %{python_module dirty-equals}
BuildRequires: %{python_module pytest-mock}
-BuildRequires: %{python_module pytest-sugar}
+BuildRequires: %{python_module pytest-pretty}
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest}
# /SECTION
@@ -53,8 +53,8 @@
%prep
%autosetup -p1 -n watchfiles-%{version} -a1
-rm docs/requirements.txt docs/CNAME
-dos2unix README.md docs/* docs/api/*
+# Need to replace version because we build from github archive
+sed -i 's/version = "0.0.0"/version = "%{version}"/' Cargo.toml
%build
# one universal abi3 wheel for all flavors
++++++ _service ++++++
--- /var/tmp/diff_new_pack.dzsCmd/_old 2023-05-13 17:17:45.310420436 +0200
+++ /var/tmp/diff_new_pack.dzsCmd/_new 2023-05-13 17:17:45.314420459 +0200
@@ -1,6 +1,6 @@
<services>
<service name="cargo_vendor" mode="disabled">
- <param name="srctar">watchfiles-0.15.0.tar.gz</param>
+ <param name="srctar">watchfiles-0.19.0-gh.tar.gz</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>
++++++ cargo_config.patch ++++++
--- /var/tmp/diff_new_pack.dzsCmd/_old 2023-05-13 17:17:45.326420528 +0200
+++ /var/tmp/diff_new_pack.dzsCmd/_new 2023-05-13 17:17:45.330420551 +0200
@@ -1,7 +1,7 @@
-Index: watchfiles-0.15.0/.cargo/config
+Index: watchfiles-0.19.0/.cargo/config
===================================================================
--- /dev/null
-+++ watchfiles-0.15.0/.cargo/config
++++ watchfiles-0.19.0/.cargo/config
@@ -0,0 +1,5 @@
+[source.crates-io]
+replace-with = "vendored-sources"
@@ -9,21 +9,21 @@
+[source.vendored-sources]
+directory = "vendor"
\ No newline at end of file
-Index: watchfiles-0.15.0/.cargo/config.toml
+Index: watchfiles-0.19.0/.cargo/config.toml
===================================================================
---- watchfiles-0.15.0.orig/.cargo/config.toml
+--- watchfiles-0.19.0.orig/.cargo/config.toml
+++ /dev/null
@@ -1,12 +0,0 @@
--# see https://pyo3.rs/main/building_and_distribution.html#macos
--[target.x86_64-apple-darwin]
--rustflags = [
-- "-C", "link-arg=-undefined",
-- "-C", "link-arg=dynamic_lookup",
--]
--
--[target.aarch64-apple-darwin]
--rustflags = [
-- "-C", "link-arg=-undefined",
-- "-C", "link-arg=dynamic_lookup",
--]
+-# see https://pyo3.rs/main/building_and_distribution.html#macos
+-[target.x86_64-apple-darwin]
+-rustflags = [
+- "-C", "link-arg=-undefined",
+- "-C", "link-arg=dynamic_lookup",
+-]
+-
+-[target.aarch64-apple-darwin]
+-rustflags = [
+- "-C", "link-arg=-undefined",
+- "-C", "link-arg=dynamic_lookup",
+-]
++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/python-watchfiles/vendor.tar.xz
/work/SRC/openSUSE:Factory/.python-watchfiles.new.1533/vendor.tar.xz differ:
char 26, line 1