Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version of packages #239

Merged
merged 2 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ install:
pip install -e .

develop:
pip install wheel==0.40.0
pip install wheel==0.42.0
pip install -e .
pip install -Ur docs/requirements-dev.txt
flit install --symlink
Expand Down
23 changes: 13 additions & 10 deletions docs/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
aiounittest==1.4.2
black==23.9.1
codecov==2.1.12
black==23.11.0
build==1.0.3
coverage[toml]==7.2.7
flit==3.8.0
hypothesis==6.87.2
flit==3.9.0
hypothesis==6.91.0
ipython==8.14.0
lint==1.2.1
mypy==1.1.1
pylint==2.17.4
mypy==1.7.1
pylint==2.16.1
pyperf==2.6.2
pytest>=6.0.0
pytest-asyncio==0.21.0
pytest-cov==4.1.0
pytest-cython==0.2.1
pytest-xdist==3.3.1
pytest-asyncio==0.23.2
pytest-cov==4.0.0
pytest-cython==0.2.0
pytest-xdist==3.5.0
pytest-assume==2.4.3
sdist==0.0.0
sphinx==6.1.3
tox==4.6.4
twine==4.0.2
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[build-system]
requires = [
'setuptools==67.6.1',
'Cython==0.29.33',
'wheel==0.40.0',
'Cython==3.0.6',
'wheel==0.42.0',
'flit'
]

Expand Down
9 changes: 8 additions & 1 deletion qw/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@

def dispatch(func: Callable) -> Any:
qw = QClient() # calling Queue Worker
print('FUNCTION is ', qw)

@wraps(func)
async def _wrap(*args, **kwargs):
result = await qw.queue(func, *args, **kwargs)
return result
return _wrap

def run(func: Callable) -> Any:
qw = QClient() # calling Queue Worker

@wraps(func)
async def _wrap(*args, **kwargs):
return await qw.run(func, *args, **kwargs)
return _wrap
2 changes: 1 addition & 1 deletion qw/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__description__ = ('QueueWorker is asynchronous Task Queue implementation '
'built on top of Asyncio.'
'Can you spawn distributed workers to run functions inside workers.')
__version__ = '1.9.21'
__version__ = '1.10.0'
__author__ = 'Jesus Lara'
__author_email__ = 'jesuslarag@gmail.com'
__license__ = 'MIT'
Expand Down
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,27 +89,27 @@ def readme():
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Framework :: AsyncIO'
],
author='Jesus Lara',
author_email='jesuslara@phenobarbital.info',
packages=find_packages(exclude=["contrib", "docs", "tests", "settings"]),
setup_requires=[
'wheel==0.40.0',
'cython==0.29.33'
'wheel==0.42.0',
'Cython==3.0.6'
],
install_requires=[
'asyncio==3.4.3',
'uvloop==0.19.0',
'ciso8601>=2.2.0',
'navconfig[default]>=1.4.0',
'asyncdb[default]>=2.5.6',
'async-notify[default]>=1.1.5',
'navconfig[default]>=1.5.0',
'asyncdb[default]>=2.6.0',
'cloudpickle==3.0.0',
'jsonpickle==3.0.2',
'aiofile==3.8.8',
'beautifulsoup4==4.12.2',
'async-timeout==4.0.2',
'async-timeout==4.0.3',
'msgpack==1.0.5',
],
ext_modules=cythonize(extensions),
Expand Down