forked from pool/python-watchfiles
Accepting request 1086611 from home:bnavigator:branches:devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/1086611 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchfiles?expand=0&rev=3
This commit is contained in:
2
_service
2
_service
@@ -1,6 +1,6 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="cargo_vendor" mode="disabled">
|
<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="compression">xz</param>
|
||||||
<param name="update">true</param>
|
<param name="update">true</param>
|
||||||
</service>
|
</service>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Index: watchfiles-0.15.0/.cargo/config
|
Index: watchfiles-0.19.0/.cargo/config
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ watchfiles-0.15.0/.cargo/config
|
+++ watchfiles-0.19.0/.cargo/config
|
||||||
@@ -0,0 +1,5 @@
|
@@ -0,0 +1,5 @@
|
||||||
+[source.crates-io]
|
+[source.crates-io]
|
||||||
+replace-with = "vendored-sources"
|
+replace-with = "vendored-sources"
|
||||||
@@ -9,20 +9,20 @@ Index: watchfiles-0.15.0/.cargo/config
|
|||||||
+[source.vendored-sources]
|
+[source.vendored-sources]
|
||||||
+directory = "vendor"
|
+directory = "vendor"
|
||||||
\ No newline at end of file
|
\ 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
|
+++ /dev/null
|
||||||
@@ -1,12 +0,0 @@
|
@@ -1,12 +0,0 @@
|
||||||
-# see https://pyo3.rs/main/building_and_distribution.html#macos
|
-# see https://pyo3.rs/main/building_and_distribution.html#macos
|
||||||
-[target.x86_64-apple-darwin]
|
-[target.x86_64-apple-darwin]
|
||||||
-rustflags = [
|
-rustflags = [
|
||||||
- "-C", "link-arg=-undefined",
|
- "-C", "link-arg=-undefined",
|
||||||
- "-C", "link-arg=dynamic_lookup",
|
- "-C", "link-arg=dynamic_lookup",
|
||||||
-]
|
-]
|
||||||
-
|
-
|
||||||
-[target.aarch64-apple-darwin]
|
-[target.aarch64-apple-darwin]
|
||||||
-rustflags = [
|
-rustflags = [
|
||||||
- "-C", "link-arg=-undefined",
|
- "-C", "link-arg=-undefined",
|
||||||
- "-C", "link-arg=dynamic_lookup",
|
- "-C", "link-arg=dynamic_lookup",
|
||||||
-]
|
-]
|
||||||
|
|||||||
@@ -1,3 +1,34 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 11 18:43:46 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 18 21:14:17 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Mon Jul 18 21:14:17 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-watchfiles
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,30 +17,30 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-watchfiles
|
Name: python-watchfiles
|
||||||
Version: 0.15.0
|
Version: 0.19.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: File watching and code reload in python
|
Summary: File watching and code reload in python
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/samuelcolvin/watchfiles
|
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
|
Source1: vendor.tar.xz
|
||||||
# PATCH-FEATURE-OPENSUSE cargo_config.patch code@bnavigator.de -- replace cargo config
|
# PATCH-FEATURE-OPENSUSE cargo_config.patch code@bnavigator.de -- replace cargo config
|
||||||
Patch0: cargo_config.patch
|
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 base >= 3.7}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: cargo-packaging
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-maturin >= 0.13
|
BuildRequires: python3-maturin >= 0.14.16
|
||||||
Requires: (python-anyio >= 3.0.0 with python-anyio < 4)
|
Requires: python-anyio >= 3.0.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
# SECTION test
|
# SECTION test
|
||||||
BuildRequires: %{python_module dirty-equals}
|
BuildRequires: %{python_module dirty-equals}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest-sugar}
|
BuildRequires: %{python_module pytest-pretty}
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@@ -53,8 +53,8 @@ This package was previously named "watchgod".
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n watchfiles-%{version} -a1
|
%autosetup -p1 -n watchfiles-%{version} -a1
|
||||||
rm docs/requirements.txt docs/CNAME
|
# Need to replace version because we build from github archive
|
||||||
dos2unix README.md docs/* docs/api/*
|
sed -i 's/version = "0.0.0"/version = "%{version}"/' Cargo.toml
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# one universal abi3 wheel for all flavors
|
# one universal abi3 wheel for all flavors
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:d8cc6182b7ad6bcd01ddde272574a2ffbec42efe80a899745cec9026c93cd7c2
|
oid sha256:3c0981440a716bd3d86c4bd0e880092108bcc71fbd7f733ed90eec0785c215af
|
||||||
size 10702808
|
size 16374988
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cab62510f990d195986302aa6a48ed636d685b099927049120d520c96069fa49
|
|
||||||
size 36227
|
|
||||||
3
watchfiles-0.19.0-gh.tar.gz
Normal file
3
watchfiles-0.19.0-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:faf819a407807a63e8f2a3ecbfb473ff1dabf663a109bc17561eb06267cce62f
|
||||||
|
size 44079
|
||||||
Reference in New Issue
Block a user