17
0

2 Commits

Author SHA256 Message Date
add73310ff Accepting request 1203337 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1203337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-watchfiles?expand=0&rev=6
2024-09-25 19:54:30 +00:00
481ae50f3d Accepting request 1203311 from home:ecsos:python
- Update to 0.24.0:
  - drop PyPy 3.8 by @samuelcolvin in #293
  - Update Python version in index.md by @kjaymiller in #296
  - return "file deleted" instead of raising an exception,
    fix #282 by @samuelcolvin in #301
- Changes from 0.23.0:
  - Fix typo in watch doctstring by @kwentine in #280
  - Bump up PyO3 to 0.22.2 by @FlickerSoul in #287
  - Updates to GitHub Actions by @gaby in #274
  - Update mkdocstring python handler option key by @kwentine in
    #281
  - Bump requests from 2.31.0 to 2.32.0 in /requirements by
    @dependabot in #278
  - Bump urllib3 from 2.2.1 to 2.2.2 in /requirements by
    @dependabot in #283
  - Bump certifi from 2024.2.2 to 2024.7.4 in /requirements by
    @dependabot in #285
  - Add support for Python 3.13 by @hugovk in #277
  - remove watchfiles from ignore directory list by @CharlesFr in
    #249
  - fix windows build by @samuelcolvin in #291
  - Full CI build by default by @samuelcolvin in #290
  - use intern! in rust code by @samuelcolvin in #292
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1203311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchfiles?expand=0&rev=12
2024-09-25 08:06:29 +00:00
6 changed files with 12 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
<services>
<service name="download_files" mode="manual"></service>
<service name="cargo_vendor" mode="manual">
<param name="srctar">watchfiles-1.1.1-gh.tar.gz</param>
<param name="srctar">watchfiles-0.24.0-gh.tar.gz</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>

View File

@@ -1,14 +1,3 @@
-------------------------------------------------------------------
Tue Nov 4 13:52:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 1.1.1
* Bump PyO3 to 0.25.1, drop Python 3.8 support
* allow modify poll_delay_ms argument using an environment variable
* switch to uv
* try testing with 3.13 free threading
* test and build with 3.14 & 3.14t
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Wed Sep 25 05:22:39 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-watchfiles
#
# Copyright (c) 2025 SUSE LLC and contributors
# 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
@@ -16,21 +16,17 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-watchfiles
Version: 1.1.1
Version: 0.24.0
Release: 0
Summary: File watching and code reload in python
License: MIT
URL: https://github.com/samuelcolvin/watchfiles
Source0: https://github.com/samuelcolvin/watchfiles/archive/refs/tags/v%{version}.tar.gz#/watchfiles-%{version}-gh.tar.gz
Source1: vendor.tar.xz
BuildRequires: %{python_module anyio >= 3.0.0}
# gh#samuelcolvin/watchfiles#254
BuildRequires: %{python_module anyio >= 3.0.0 with %python-anyio < 4}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module maturin >= 0.14.16}
BuildRequires: %{python_module pip}
@@ -38,14 +34,9 @@ BuildRequires: cargo-packaging
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-anyio >= 3.0.0
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires: (python-anyio >= 3.0.0 with python-anyio < 4)
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
Requires(postun):update-alternatives
# SECTION test
BuildRequires: %{python_module dirty-equals}
BuildRequires: %{python_module pytest-mock}
@@ -83,9 +74,6 @@ mv watchfiles watchfiles.movedaway
%postun
%python_uninstall_alternative watchfiles
%pre
%python_libalternatives_reset_alternative watchfiles
%files %{python_files}
%license LICENSE
%doc README.md docs/*

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99021aba9156ce17709166c4ab99517b21f728ccfae36654f5d674b5478cc1b9
size 9985492
oid sha256:838a06d265a1bceffa7c85966059c476bca81a3c1b206339a179da6cae8710f7
size 13087588

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:27a295bf32675e500ebdc78b3a1afef676461959f5c6dd23008cdad48f123b6f
size 46019

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48fdf058a68dd763ddb246319f3fd16d6f2a0c713fb89b7c9aa2aca1e39d1dc9
size 99856