Skip to content
Snippets Groups Projects
Commit e77a513f authored by Edward Betts's avatar Edward Betts
Browse files

Initial release.

parent b535f12c
Branches
Tags debian/0.6-1
No related merge requests found
python-asyncinject (0.6-1) unstable; urgency=medium
* Initial release. (Closes: #1088097)
-- Edward Betts <edward@4angle.com> Sat, 23 Nov 2024 09:03:41 +0000
Source: python-asyncinject
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders:
Edward Betts <edward@4angle.com>,
Section: python
Priority: optional
Build-Depends:
debhelper-compat (= 13),
dh-sequence-python3,
pybuild-plugin-pyproject,
python3-all,
python3-setuptools,
Build-Depends-Indep:
python3-pytest <!nocheck>,
python3-pytest-asyncio <!nocheck>,
Rules-Requires-Root: no
Standards-Version: 4.7.0
Homepage: https://github.com/simonw/asyncinject
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-asyncinject
Vcs-Git: https://salsa.debian.org/python-team/packages/python-asyncinject.git
Package: python3-asyncinject
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
Description: Run async workflows using pytest-fixtures-style dependency injection
This library simplifies the execution of parallel asynchronous operations by
utilising a dependency injection style similar to pytest fixtures. It allows
you to define a collection of functions, where the function arguments
represent dependent functions that must be executed first. The library creates
and executes an efficient sequence for executing the necessary functions in
parallel. Functions, whether regular or asynchronous, can be registered and
executed by the library, providing flexibility in managing dependencies. The
dependency injection mechanism allows passing keyword arguments directly to
functions and enables default parameter values, thereby excluding them from
dependency checks. Additionally, users can gather timing information for
executed tasks or disable parallel execution for benchmarking purposes. This
makes the execution of complex workflows more manageable by organizing and
parallelizing dependent tasks.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: asyncinject
Upstream-Contact: Simon Willison
Source: https://github.com/simonw/asyncinject
Files: *
Copyright: Simon Willison
License: Apache-2.0
Files: debian/*
Copyright: 2024 Edward Betts <edward@4angle.com>
License: Apache-2.0
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache 2.0 License
can be found in /usr/share/common-licenses/Apache-2.0 file.
README.md
[DEFAULT]
debian-branch=debian/main
\ No newline at end of file
#!/usr/bin/make -f
export PYBUILD_NAME=asyncinject
export PYBUILD_TEST_PYTEST=1
%:
dh $@ --buildsystem=pybuild
override_dh_auto_clean:
dh_auto_clean
rm -rf asyncinject.egg-info/
3.0 (quilt)
\ No newline at end of file
Tests:
run-tests,
Depends:
python3-all,
python3-pytest,
python3-pytest-asyncio,
@,
#!/bin/sh
set -e
cp -r test* "$AUTOPKGTEST_TMP/" && cd "$AUTOPKGTEST_TMP"
for py in $(py3versions -s); do
$py -Wd -m pytest -v --asyncio-mode=auto -x 2>&1
done
Bug-Database: https://github.com/simonw/asyncinject/issues
Bug-Submit: https://github.com/simonw/asyncinject/issues/new
Repository: https://github.com/simonw/asyncinject.git
Repository-Browse: https://github.com/simonw/asyncinject
\ No newline at end of file
version=4
opts=uversionmangle=s/-/~~/;s/([0-9])((?:[ab]|rc)[0-9]*)/$1~$2/g \
https://github.com/simonw/asyncinject/tags .*/v?(\d\S+)\.tar\.gz
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment