15
0
forked from pool/python-flower

- update to 2.0.1:

* Ask for safe args strings when calling inspect.active
  * Enable basic auth for api, fixes
  * Allow non integer rate limits like 3/m
  * Provide support for Python 3.10 and 3.11
  * Drop python 3.6 support
  * Improve error message
- drop remove-mock.patch: upstream
- drop backport_run_in_executor.patch: obsolete
- add python-rpm-macros dependency
  * Fixing GitHub OAuth callback handling
  * Switch away from Google+ OAuth2
  * Fix a bug in humanizing timestamps on the tasks page
  * Removed 500px height limitation
  * Fixed Python 3 mistake in Github Login Handler
  * Support environment variables in tornado 4.2.0 and >=4.3
  * Fix XSS on tasks page
  * Replace websokets with ajax
  * Fix bug in tasks page template
  * Fix celery version comparsion
  * Refactor version comparision
  * Use redis as default broker
  * Update dashboard counters on worker table updates
  * Move shut down group button to worker page
  * Update navbar title
  * Add a script for calling tasks
  * Add a link to worker name
  * Remove active task start time from worker page
  * Fix py3 json serialization
  * Enable all tasks columns with --tasks-options=all

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flower?expand=0&rev=17
This commit is contained in:
2024-01-06 20:15:13 +00:00
committed by Git OBS Bridge
parent 1bbbbb9e8a
commit 15e7b20f1e
6 changed files with 52 additions and 216 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flower
#
# Copyright (c) 2022 SUSE LLC
# 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
@@ -17,31 +17,25 @@
Name: python-flower
Version: 1.1.0
Version: 2.0.1
Release: 0
Summary: A web frontend for monitoring and administrating Celery clusters
License: BSD-3-Clause
URL: https://github.com/mher/flower
Source: https://files.pythonhosted.org/packages/source/f/flower/flower-%{version}.tar.gz
# Tornado 5+ update blocked by salt, so backport the missing piece
Patch0: backport_run_in_executor.patch
# PATCH-FIX-UPSTREAM gh#mher/flower#1228
Patch1: remove-mock.patch
BuildRequires: %{python_module Babel >= 1.0}
BuildRequires: %{python_module celery >= 5.0.0}
BuildRequires: %{python_module certifi}
BuildRequires: %{python_module humanize}
BuildRequires: %{python_module kombu}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module prometheus_client >= 0.8.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tornado >= 5.0.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Babel >= 1.0
Requires: python-celery >= 5.0.0
Requires: python-certifi
Requires: python-humanize
Requires: python-prometheus_client >= 0.8.0
Requires: python-pytz
@@ -58,10 +52,10 @@ Flower is a web based tool for monitoring and administrating Celery clusters.
%autosetup -p1 -n flower-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -70,6 +64,7 @@ Flower is a web based tool for monitoring and administrating Celery clusters.
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/flower
%{python_sitelib}/flower-%{version}.dist-info
%changelog