Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-queuelib for openSUSE:Factory checked in at 2024-06-10 17:38:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-queuelib (Old) and /work/SRC/openSUSE:Factory/.python-queuelib.new.19518 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-queuelib" Mon Jun 10 17:38:20 2024 rev:6 rq:1179672 version:1.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-queuelib/python-queuelib.changes 2021-09-08 21:37:11.825929246 +0200 +++ /work/SRC/openSUSE:Factory/.python-queuelib.new.19518/python-queuelib.changes 2024-06-10 17:38:42.085323857 +0200 @@ -1,0 +2,10 @@ +Mon Jun 10 09:52:31 UTC 2024 - Dirk Müller <dmueller@suse.com> + +- update to 1.7.0: + * Added support for Python 3.10-3.12 and PyPy 3.10 + * Removed support for Python 3.5-3.7 + * Improved type annotations and added the ``py.typed`` file + * Added ``pre-commit`` configuration + * Improved linting and CI configuration + +------------------------------------------------------------------- Old: ---- queuelib-1.6.2.tar.gz New: ---- queuelib-1.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-queuelib.spec ++++++ --- /var/tmp/diff_new_pack.4VAIoN/_old 2024-06-10 17:38:42.625343834 +0200 +++ /var/tmp/diff_new_pack.4VAIoN/_new 2024-06-10 17:38:42.629343981 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-queuelib # -# Copyright (c) 2021 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-queuelib -Version: 1.6.2 +Version: 1.7.0 Release: 0 Summary: Collection of Persistent (Disk-Based) Queues License: BSD-2-Clause ++++++ queuelib-1.6.2.tar.gz -> queuelib-1.7.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/NEWS new/queuelib-1.7.0/NEWS --- old/queuelib-1.6.2/NEWS 2021-08-26 15:41:56.000000000 +0200 +++ new/queuelib-1.7.0/NEWS 2024-05-04 08:02:38.000000000 +0200 @@ -1,6 +1,19 @@ Queuelib release notes ====================== +Version 1.7.0 +------------- +(released on May 4th, 2024) + +No functionality changes with respect to 1.6.2 + +* Added support for Python 3.10-3.12 and PyPy 3.10 +* Removed support for Python 3.5-3.7 +* Improved type annotations and added the ``py.typed`` file +* Added ``pre-commit`` configuration +* Improved linting and CI configuration + + Version 1.6.2 ------------- (released on August 26th, 2021) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/PKG-INFO new/queuelib-1.7.0/PKG-INFO --- old/queuelib-1.6.2/PKG-INFO 2021-08-26 15:42:06.895097500 +0200 +++ new/queuelib-1.7.0/PKG-INFO 2024-05-04 08:02:51.436710800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: queuelib -Version: 1.6.2 +Version: 1.7.0 Summary: Collection of persistent (disk-based) and non-persistent (memory-based) queues Home-page: https://github.com/scrapy/queuelib Author: Scrapy project @@ -12,14 +12,15 @@ Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy -Requires-Python: >=3.5 +Requires-Python: >=3.8 +Description-Content-Type: text/x-rst License-File: LICENSE ======== @@ -211,5 +212,3 @@ .. _scrapy-users: http://groups.google.com/group/scrapy-users .. _Semantic Versioning: http://semver.org/ .. _nosetests: https://nose.readthedocs.org/en/latest/ - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/pyproject.toml new/queuelib-1.7.0/pyproject.toml --- old/queuelib-1.6.2/pyproject.toml 2021-08-26 15:41:56.000000000 +0200 +++ new/queuelib-1.7.0/pyproject.toml 2024-05-04 08:02:38.000000000 +0200 @@ -1,3 +1,17 @@ +[tool.isort] +profile = "black" +multi_line_output = 3 + +[tool.mypy] +check_untyped_defs = true +ignore_missing_imports = true +no_warn_no_return = true + +[[tool.mypy.overrides]] +module = "queuelib.tests.*" +allow_untyped_defs = true +allow_untyped_calls = true +check_untyped_defs = false + [tool.black] -line-length = 119 -include = '\.py$' +target-version = ["py38", "py39", "py310", "py311", "py312"] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/queuelib/__init__.py new/queuelib-1.7.0/queuelib/__init__.py --- old/queuelib-1.6.2/queuelib/__init__.py 2021-08-26 15:41:56.000000000 +0200 +++ new/queuelib-1.7.0/queuelib/__init__.py 2024-05-04 08:02:38.000000000 +0200 @@ -1,5 +1,5 @@ -__version__ = "1.6.2" +__version__ = "1.7.0" -from queuelib.queue import FifoDiskQueue, LifoDiskQueue from queuelib.pqueue import PriorityQueue +from queuelib.queue import FifoDiskQueue, LifoDiskQueue from queuelib.rrqueue import RoundRobinQueue diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/queuelib/pqueue.py new/queuelib-1.7.0/queuelib/pqueue.py --- old/queuelib-1.6.2/queuelib/pqueue.py 2021-08-26 15:41:56.000000000 +0200 +++ new/queuelib-1.7.0/queuelib/pqueue.py 2024-05-04 08:02:38.000000000 +0200 @@ -27,7 +27,9 @@ """ - def __init__(self, qfactory: Callable[[int], BaseQueue], startprios: Iterable[int] = ()) -> None: + def __init__( + self, qfactory: Callable[[int], BaseQueue], startprios: Iterable[int] = () + ) -> None: self.queues = {} self.qfactory = qfactory for p in startprios: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/queuelib/queue.py new/queuelib-1.7.0/queuelib/queue.py --- old/queuelib-1.6.2/queuelib/queue.py 2021-08-26 15:41:56.000000000 +0200 +++ new/queuelib-1.7.0/queuelib/queue.py 2024-05-04 08:02:38.000000000 +0200 @@ -6,7 +6,7 @@ from abc import abstractmethod from collections import deque from contextlib import suppress -from typing import Any, Optional +from typing import Any, BinaryIO, Deque, Dict, Literal, Optional, cast class _BaseQueueMeta(type): @@ -14,10 +14,12 @@ Metaclass to check queue classes against the necessary interface """ - def __instancecheck__(cls, instance): - return cls.__subclasscheck__(type(instance)) # pylint: disable=no-value-for-parameter + def __instancecheck__(cls, instance: Any) -> bool: + return cls.__subclasscheck__( # pylint: disable=no-value-for-parameter + type(instance) + ) - def __subclasscheck__(cls, subclass): + def __subclasscheck__(cls, subclass: Any) -> bool: return ( hasattr(subclass, "push") and callable(subclass.push) @@ -46,7 +48,7 @@ raise NotImplementedError() @abstractmethod - def __len__(self): + def __len__(self) -> int: raise NotImplementedError() def close(self) -> None: @@ -57,7 +59,7 @@ """In-memory FIFO queue, API compliant with FifoDiskQueue.""" def __init__(self) -> None: - self.q = deque() # type: deque + self.q: Deque[Any] = deque() def push(self, obj: Any) -> None: self.q.append(obj) @@ -71,7 +73,7 @@ def close(self) -> None: pass - def __len__(self): + def __len__(self) -> int: return len(self.q) @@ -103,7 +105,7 @@ def push(self, string: bytes) -> None: if not isinstance(string, bytes): - raise TypeError("Unsupported type: {}".format(type(string).__name__)) + raise TypeError(f"Unsupported type: {type(string).__name__}") hnum, hpos = self.info["head"] hpos += 1 szhdr = struct.pack(self.szhdr_format, len(string)) @@ -116,8 +118,8 @@ self.info["size"] += 1 self.info["head"] = [hnum, hpos] - def _openchunk(self, number: int, mode: str = "rb"): - return open(os.path.join(self.path, "q%05d" % number), mode) + def _openchunk(self, number: int, mode: Literal["rb", "ab+"] = "rb") -> BinaryIO: + return open(os.path.join(self.path, f"q{number:05d}"), mode) def pop(self) -> Optional[bytes]: tnum, tcnt, toffset = self.info["tail"] @@ -163,13 +165,13 @@ self._cleanup() def __len__(self) -> int: - return self.info["size"] + return cast(int, self.info["size"]) - def _loadinfo(self, chunksize: int) -> dict: + def _loadinfo(self, chunksize: int) -> Dict[str, Any]: infopath = self._infopath() if os.path.exists(infopath): with open(infopath) as f: - info = json.load(f) + info = cast(Dict[str, Any], json.load(f)) else: info = { "chunksize": chunksize, @@ -179,7 +181,7 @@ } return info - def _saveinfo(self, info: dict) -> None: + def _saveinfo(self, info: Dict[str, Any]) -> None: with open(self._infopath(), "w") as f: json.dump(info, f) @@ -201,6 +203,7 @@ SIZE_SIZE = struct.calcsize(SIZE_FORMAT) def __init__(self, path: str) -> None: + self.size: int self.path = path if os.path.exists(path): self.f = open(path, "rb+") @@ -214,7 +217,7 @@ def push(self, string: bytes) -> None: if not isinstance(string, bytes): - raise TypeError("Unsupported type: {}".format(type(string).__name__)) + raise TypeError(f"Unsupported type: {type(string).__name__}") self.f.write(string) ssize = struct.pack(self.SIZE_FORMAT, len(string)) self.f.write(ssize) @@ -269,7 +272,7 @@ def push(self, item: bytes) -> None: if not isinstance(item, bytes): - raise TypeError("Unsupported type: {}".format(type(item).__name__)) + raise TypeError(f"Unsupported type: {type(item).__name__}") with self._db as conn: conn.execute(self._sql_push, (item,)) @@ -277,13 +280,13 @@ with self._db as conn: for id_, item in conn.execute(self._sql_pop): conn.execute(self._sql_del, (id_,)) - return item + return cast(bytes, item) return None def peek(self) -> Optional[bytes]: with self._db as conn: for _, item in conn.execute(self._sql_pop): - return item + return cast(bytes, item) return None def close(self) -> None: @@ -294,7 +297,7 @@ def __len__(self) -> int: with self._db as conn: - return next(conn.execute(self._sql_size))[0] + return cast(int, next(conn.execute(self._sql_size))[0]) class LifoSQLiteQueue(FifoSQLiteQueue): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/queuelib/rrqueue.py new/queuelib-1.7.0/queuelib/rrqueue.py --- old/queuelib-1.6.2/queuelib/rrqueue.py 2021-08-26 15:41:56.000000000 +0200 +++ new/queuelib-1.7.0/queuelib/rrqueue.py 2024-05-04 08:02:38.000000000 +0200 @@ -1,5 +1,6 @@ from collections import deque -from typing import Any, Callable, Hashable, Iterable, List, Optional +from collections.abc import Hashable +from typing import Any, Callable, Iterable, List, Optional from queuelib.queue import BaseQueue @@ -23,7 +24,11 @@ first and the next queue for that key is then popped. """ - def __init__(self, qfactory: Callable[[Hashable], BaseQueue], start_domains: Iterable[Hashable] = ()) -> None: + def __init__( + self, + qfactory: Callable[[Hashable], BaseQueue], + start_domains: Iterable[Hashable] = (), + ) -> None: self.queues = {} self.qfactory = qfactory for key in start_domains: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/queuelib/tests/test_pqueue.py new/queuelib-1.7.0/queuelib/tests/test_pqueue.py --- old/queuelib-1.6.2/queuelib/tests/test_pqueue.py 2021-08-26 15:41:56.000000000 +0200 +++ new/queuelib-1.7.0/queuelib/tests/test_pqueue.py 2024-05-04 08:02:38.000000000 +0200 @@ -1,11 +1,12 @@ import os + from queuelib.pqueue import PriorityQueue from queuelib.queue import ( - FifoMemoryQueue, - LifoMemoryQueue, FifoDiskQueue, - LifoDiskQueue, + FifoMemoryQueue, FifoSQLiteQueue, + LifoDiskQueue, + LifoMemoryQueue, LifoSQLiteQueue, ) from queuelib.tests import QueuelibTestCase, track_closed @@ -174,25 +175,33 @@ self.assertEqual(q2.close(), []) -class FifoDiskPriorityQueueTest(PQueueTestMixin, FifoTestMixin, DiskTestMixin, QueuelibTestCase): +class FifoDiskPriorityQueueTest( + PQueueTestMixin, FifoTestMixin, DiskTestMixin, QueuelibTestCase +): def qfactory(self, prio): path = os.path.join(self.qdir, str(prio)) return track_closed(FifoDiskQueue)(path) -class LifoDiskPriorityQueueTest(PQueueTestMixin, LifoTestMixin, DiskTestMixin, QueuelibTestCase): +class LifoDiskPriorityQueueTest( + PQueueTestMixin, LifoTestMixin, DiskTestMixin, QueuelibTestCase +): def qfactory(self, prio): path = os.path.join(self.qdir, str(prio)) return track_closed(LifoDiskQueue)(path) -class FifoSQLitePriorityQueueTest(PQueueTestMixin, FifoTestMixin, DiskTestMixin, QueuelibTestCase): +class FifoSQLitePriorityQueueTest( + PQueueTestMixin, FifoTestMixin, DiskTestMixin, QueuelibTestCase +): def qfactory(self, prio): path = os.path.join(self.qdir, str(prio)) return track_closed(FifoSQLiteQueue)(path) -class LifoSQLitePriorityQueueTest(PQueueTestMixin, LifoTestMixin, DiskTestMixin, QueuelibTestCase): +class LifoSQLitePriorityQueueTest( + PQueueTestMixin, LifoTestMixin, DiskTestMixin, QueuelibTestCase +): def qfactory(self, prio): path = os.path.join(self.qdir, str(prio)) return track_closed(LifoSQLiteQueue)(path) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/queuelib/tests/test_queue.py new/queuelib-1.7.0/queuelib/tests/test_queue.py --- old/queuelib-1.6.2/queuelib/tests/test_queue.py 2021-08-26 15:41:56.000000000 +0200 +++ new/queuelib-1.7.0/queuelib/tests/test_queue.py 2024-05-04 08:02:38.000000000 +0200 @@ -1,18 +1,18 @@ -import os import glob +import os from abc import abstractmethod +from typing import Any, List, Optional from unittest import mock -from typing import Any, Optional import pytest from queuelib.queue import ( BaseQueue, - FifoMemoryQueue, - LifoMemoryQueue, FifoDiskQueue, - LifoDiskQueue, + FifoMemoryQueue, FifoSQLiteQueue, + LifoDiskQueue, + LifoMemoryQueue, LifoSQLiteQueue, ) from queuelib.tests import QueuelibTestCase @@ -20,7 +20,7 @@ class DummyQueue: def __init__(self) -> None: - self.q = list() # type: list + self.q: List[Any] = [] def push(self, obj: Any) -> None: self.q.append(obj) @@ -213,14 +213,15 @@ class PersistentTestMixin: - chunksize = 100000 - @pytest.mark.xfail(reason="Reenable once Scrapy.squeues stops extending from this testsuite") + @pytest.mark.xfail( + reason="Reenable once Scrapy.squeues stops extending from this testsuite" + ) def test_non_bytes_raises_typeerror(self): q = self.queue() self.assertRaises(TypeError, q.push, 0) - self.assertRaises(TypeError, q.push, u"") + self.assertRaises(TypeError, q.push, "") self.assertRaises(TypeError, q.push, None) self.assertRaises(TypeError, q.push, lambda x: x) @@ -281,7 +282,9 @@ return LifoMemoryQueue() -class FifoDiskQueueTest(FifoTestMixin, PersistentTestMixin, QueueTestMixin, QueuelibTestCase): +class FifoDiskQueueTest( + FifoTestMixin, PersistentTestMixin, QueueTestMixin, QueuelibTestCase +): def queue(self): return FifoDiskQueue(self.qpath, chunksize=self.chunksize) @@ -326,7 +329,9 @@ chunksize = 4 -class LifoDiskQueueTest(LifoTestMixin, PersistentTestMixin, QueueTestMixin, QueuelibTestCase): +class LifoDiskQueueTest( + LifoTestMixin, PersistentTestMixin, QueueTestMixin, QueuelibTestCase +): def queue(self): return LifoDiskQueue(self.qpath) @@ -343,11 +348,15 @@ assert os.path.getsize(self.qpath), size -class FifoSQLiteQueueTest(FifoTestMixin, PersistentTestMixin, QueueTestMixin, QueuelibTestCase): +class FifoSQLiteQueueTest( + FifoTestMixin, PersistentTestMixin, QueueTestMixin, QueuelibTestCase +): def queue(self): return FifoSQLiteQueue(self.qpath) -class LifoSQLiteQueueTest(LifoTestMixin, PersistentTestMixin, QueueTestMixin, QueuelibTestCase): +class LifoSQLiteQueueTest( + LifoTestMixin, PersistentTestMixin, QueueTestMixin, QueuelibTestCase +): def queue(self): return LifoSQLiteQueue(self.qpath) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/queuelib/tests/test_rrqueue.py new/queuelib-1.7.0/queuelib/tests/test_rrqueue.py --- old/queuelib-1.6.2/queuelib/tests/test_rrqueue.py 2021-08-26 15:41:56.000000000 +0200 +++ new/queuelib-1.7.0/queuelib/tests/test_rrqueue.py 2024-05-04 08:02:38.000000000 +0200 @@ -1,15 +1,14 @@ import os -from queuelib.rrqueue import RoundRobinQueue from queuelib.queue import ( - FifoMemoryQueue, - LifoMemoryQueue, FifoDiskQueue, - LifoDiskQueue, + FifoMemoryQueue, FifoSQLiteQueue, + LifoDiskQueue, + LifoMemoryQueue, LifoSQLiteQueue, ) - +from queuelib.rrqueue import RoundRobinQueue from queuelib.tests import QueuelibTestCase, track_closed @@ -127,25 +126,33 @@ self.assertEqual(self.q.close(), []) -class FifoDiskRRQueueTest(RRQueueTestMixin, FifoTestMixin, DiskTestMixin, QueuelibTestCase): +class FifoDiskRRQueueTest( + RRQueueTestMixin, FifoTestMixin, DiskTestMixin, QueuelibTestCase +): def qfactory(self, key): path = os.path.join(self.qdir, str(key)) return track_closed(FifoDiskQueue)(path) -class LifoDiskRRQueueTest(RRQueueTestMixin, LifoTestMixin, DiskTestMixin, QueuelibTestCase): +class LifoDiskRRQueueTest( + RRQueueTestMixin, LifoTestMixin, DiskTestMixin, QueuelibTestCase +): def qfactory(self, key): path = os.path.join(self.qdir, str(key)) return track_closed(LifoDiskQueue)(path) -class FifoSQLiteRRQueueTest(RRQueueTestMixin, FifoTestMixin, DiskTestMixin, QueuelibTestCase): +class FifoSQLiteRRQueueTest( + RRQueueTestMixin, FifoTestMixin, DiskTestMixin, QueuelibTestCase +): def qfactory(self, key): path = os.path.join(self.qdir, str(key)) return track_closed(FifoSQLiteQueue)(path) -class LifoSQLiteRRQueueTest(RRQueueTestMixin, LifoTestMixin, DiskTestMixin, QueuelibTestCase): +class LifoSQLiteRRQueueTest( + RRQueueTestMixin, LifoTestMixin, DiskTestMixin, QueuelibTestCase +): def qfactory(self, key): path = os.path.join(self.qdir, str(key)) return track_closed(LifoSQLiteQueue)(path) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/queuelib.egg-info/PKG-INFO new/queuelib-1.7.0/queuelib.egg-info/PKG-INFO --- old/queuelib-1.6.2/queuelib.egg-info/PKG-INFO 2021-08-26 15:42:06.000000000 +0200 +++ new/queuelib-1.7.0/queuelib.egg-info/PKG-INFO 2024-05-04 08:02:51.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: queuelib -Version: 1.6.2 +Version: 1.7.0 Summary: Collection of persistent (disk-based) and non-persistent (memory-based) queues Home-page: https://github.com/scrapy/queuelib Author: Scrapy project @@ -12,14 +12,15 @@ Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy -Requires-Python: >=3.5 +Requires-Python: >=3.8 +Description-Content-Type: text/x-rst License-File: LICENSE ======== @@ -211,5 +212,3 @@ .. _scrapy-users: http://groups.google.com/group/scrapy-users .. _Semantic Versioning: http://semver.org/ .. _nosetests: https://nose.readthedocs.org/en/latest/ - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/queuelib.egg-info/SOURCES.txt new/queuelib-1.7.0/queuelib.egg-info/SOURCES.txt --- old/queuelib-1.6.2/queuelib.egg-info/SOURCES.txt 2021-08-26 15:42:06.000000000 +0200 +++ new/queuelib-1.7.0/queuelib.egg-info/SOURCES.txt 2024-05-04 08:02:51.000000000 +0200 @@ -7,6 +7,7 @@ setup.py queuelib/__init__.py queuelib/pqueue.py +queuelib/py.typed queuelib/queue.py queuelib/rrqueue.py queuelib.egg-info/PKG-INFO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/queuelib-1.6.2/setup.py new/queuelib-1.7.0/setup.py --- old/queuelib-1.6.2/setup.py 2021-08-26 15:41:56.000000000 +0200 +++ new/queuelib-1.7.0/setup.py 2024-05-04 08:02:38.000000000 +0200 @@ -1,28 +1,32 @@ -from setuptools import setup, find_packages +from setuptools import find_packages, setup setup( name="queuelib", - version="1.6.2", + version="1.7.0", license="BSD", description="Collection of persistent (disk-based) and non-persistent (memory-based) queues", long_description=open("README.rst").read(), + long_description_content_type="text/x-rst", author="Scrapy project", author_email="info@scrapy.org", url="https://github.com/scrapy/queuelib", packages=find_packages(), + package_data={ + "queuelib": ["py.typed"], + }, platforms=["Any"], - python_requires=">=3.5", + python_requires=">=3.8", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", "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", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ],
participants (1)
-
Source-Sync