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>
|
||||
<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>
|
||||
|
||||
@@ -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,9 +9,9 @@ Index: watchfiles-0.15.0/.cargo/config
|
||||
+[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
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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 code@bnavigator.de -- 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 @@ This package was previously named "watchgod".
|
||||
|
||||
%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
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8cc6182b7ad6bcd01ddde272574a2ffbec42efe80a899745cec9026c93cd7c2
|
||||
size 10702808
|
||||
oid sha256:3c0981440a716bd3d86c4bd0e880092108bcc71fbd7f733ed90eec0785c215af
|
||||
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