Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cachetools for openSUSE:Factory checked in at 2023-11-13 22:16:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cachetools (Old) and /work/SRC/openSUSE:Factory/.python-cachetools.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cachetools" Mon Nov 13 22:16:23 2023 rev:20 rq:1124987 version:5.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cachetools/python-cachetools.changes 2023-05-30 22:01:40.946741557 +0200 +++ /work/SRC/openSUSE:Factory/.python-cachetools.new.17445/python-cachetools.changes 2023-11-13 22:16:51.994656775 +0100 @@ -1,0 +2,7 @@ +Fri Nov 10 13:36:43 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 5.3.2: + * Add support for Python 3.12. + * Various documentation improvements. + +------------------------------------------------------------------- Old: ---- cachetools-5.3.1.tar.gz New: ---- cachetools-5.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cachetools.spec ++++++ --- /var/tmp/diff_new_pack.FS3Q3s/_old 2023-11-13 22:16:52.634680340 +0100 +++ /var/tmp/diff_new_pack.FS3Q3s/_new 2023-11-13 22:16:52.634680340 +0100 @@ -16,11 +16,9 @@ # -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-cachetools -Version: 5.3.1 +Version: 5.3.2 Release: 0 Summary: Extensible memoizing collections and decorators License: MIT ++++++ cachetools-5.3.1.tar.gz -> cachetools-5.3.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/CHANGELOG.rst new/cachetools-5.3.2/CHANGELOG.rst --- old/cachetools-5.3.1/CHANGELOG.rst 2023-05-27 22:34:14.000000000 +0200 +++ new/cachetools-5.3.2/CHANGELOG.rst 2023-10-24 20:11:18.000000000 +0200 @@ -1,3 +1,11 @@ +v5.3.2 (2023-10-24) +=================== + +- Add support for Python 3.12. + +- Various documentation improvements. + + v5.3.1 (2023-05-27) =================== @@ -69,7 +77,7 @@ ``TTLCache`` items now get expired if their expiration time is less than *or equal to* ``timer()``. For applications using the default - ``timer()``, this should be barely noticable, but it may affect the + ``timer()``, this should be barely noticeable, but it may affect the use of custom timers with larger tick intervals. Note that this also implies that a ``TTLCache`` with ``ttl=0`` can no longer hold any items, since they will expire immediately. @@ -294,7 +302,7 @@ - Add ``@cached`` function decorator. -- Add ``hashkey`` and ``typedkey`` fuctions. +- Add ``hashkey`` and ``typedkey`` functions. - Add `key` and `lock` arguments to ``@cachedmethod``. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/MANIFEST.in new/cachetools-5.3.2/MANIFEST.in --- old/cachetools-5.3.1/MANIFEST.in 2021-12-19 09:48:13.000000000 +0100 +++ new/cachetools-5.3.2/MANIFEST.in 2023-10-24 19:53:42.000000000 +0200 @@ -3,6 +3,7 @@ include MANIFEST.in include README.rst include tox.ini +exclude .readthedocs.yaml recursive-include docs * prune docs/_build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/PKG-INFO new/cachetools-5.3.2/PKG-INFO --- old/cachetools-5.3.1/PKG-INFO 2023-05-27 22:36:33.982085700 +0200 +++ new/cachetools-5.3.2/PKG-INFO 2023-10-24 20:11:47.042555800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: cachetools -Version: 5.3.1 +Version: 5.3.2 Summary: Extensible memoizing collections and decorators Home-page: https://github.com/tkem/cachetools/ Author: Thomas Kemmer @@ -18,6 +18,7 @@ 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: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=3.7 License-File: LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/docs/.gitignore new/cachetools-5.3.2/docs/.gitignore --- old/cachetools-5.3.1/docs/.gitignore 2021-09-27 21:32:46.000000000 +0200 +++ new/cachetools-5.3.2/docs/.gitignore 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -_build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/docs/Makefile new/cachetools-5.3.2/docs/Makefile --- old/cachetools-5.3.1/docs/Makefile 2021-09-27 21:32:46.000000000 +0200 +++ new/cachetools-5.3.2/docs/Makefile 1970-01-01 01:00:00.000000000 +0100 @@ -1,153 +0,0 @@ -# Makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -PAPER = -BUILDDIR = _build - -# Internal variables. -PAPEROPT_a4 = -D latex_paper_size=a4 -PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . -# the i18n builder cannot share the environment and doctrees with the others -I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . - -.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext - -help: - @echo "Please use \`make <target>' where <target> is one of" - @echo " html to make standalone HTML files" - @echo " dirhtml to make HTML files named index.html in directories" - @echo " singlehtml to make a single large HTML file" - @echo " pickle to make pickle files" - @echo " json to make JSON files" - @echo " htmlhelp to make HTML files and a HTML help project" - @echo " qthelp to make HTML files and a qthelp project" - @echo " devhelp to make HTML files and a Devhelp project" - @echo " epub to make an epub" - @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" - @echo " latexpdf to make LaTeX files and run them through pdflatex" - @echo " text to make text files" - @echo " man to make manual pages" - @echo " texinfo to make Texinfo files" - @echo " info to make Texinfo files and run them through makeinfo" - @echo " gettext to make PO message catalogs" - @echo " changes to make an overview of all changed/added/deprecated items" - @echo " linkcheck to check all external links for integrity" - @echo " doctest to run all doctests embedded in the documentation (if enabled)" - -clean: - -rm -rf $(BUILDDIR)/* - -html: - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." - -dirhtml: - $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." - -singlehtml: - $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml - @echo - @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." - -pickle: - $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle - @echo - @echo "Build finished; now you can process the pickle files." - -json: - $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json - @echo - @echo "Build finished; now you can process the JSON files." - -htmlhelp: - $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp - @echo - @echo "Build finished; now you can run HTML Help Workshop with the" \ - ".hhp project file in $(BUILDDIR)/htmlhelp." - -qthelp: - $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp - @echo - @echo "Build finished; now you can run "qcollectiongenerator" with the" \ - ".qhcp project file in $(BUILDDIR)/qthelp, like this:" - @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/cachetools.qhcp" - @echo "To view the help file:" - @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/cachetools.qhc" - -devhelp: - $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp - @echo - @echo "Build finished." - @echo "To view the help file:" - @echo "# mkdir -p $$HOME/.local/share/devhelp/cachetools" - @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/cachetools" - @echo "# devhelp" - -epub: - $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub - @echo - @echo "Build finished. The epub file is in $(BUILDDIR)/epub." - -latex: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo - @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." - @echo "Run \`make' in that directory to run these through (pdf)latex" \ - "(use \`make latexpdf' here to do that automatically)." - -latexpdf: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo "Running LaTeX files through pdflatex..." - $(MAKE) -C $(BUILDDIR)/latex all-pdf - @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." - -text: - $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text - @echo - @echo "Build finished. The text files are in $(BUILDDIR)/text." - -man: - $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man - @echo - @echo "Build finished. The manual pages are in $(BUILDDIR)/man." - -texinfo: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo - @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." - @echo "Run \`make' in that directory to run these through makeinfo" \ - "(use \`make info' here to do that automatically)." - -info: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo "Running Texinfo files through makeinfo..." - make -C $(BUILDDIR)/texinfo info - @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." - -gettext: - $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale - @echo - @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." - -changes: - $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes - @echo - @echo "The overview file is in $(BUILDDIR)/changes." - -linkcheck: - $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck - @echo - @echo "Link check complete; look for any errors in the above output " \ - "or in $(BUILDDIR)/linkcheck/output.txt." - -doctest: - $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest - @echo "Testing of doctests in the sources finished, look at the " \ - "results in $(BUILDDIR)/doctest/output.txt." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/docs/conf.py new/cachetools-5.3.2/docs/conf.py --- old/cachetools-5.3.1/docs/conf.py 2023-01-22 23:22:12.000000000 +0100 +++ new/cachetools-5.3.2/docs/conf.py 2023-10-24 19:41:11.000000000 +0200 @@ -1,14 +1,26 @@ import pathlib import sys -basedir = pathlib.Path(__file__).parent.parent +src_directory = (pathlib.Path(__file__).parent.parent / "src").resolve() +sys.path.insert(0, str(src_directory)) + + +# Extract the current version from the source. +def get_version(): + """Get the version and release from the source code.""" + + text = (src_directory / "cachetools/__init__.py").read_text() + for line in text.splitlines(): + if not line.strip().startswith("__version__"): + continue + full_version = line.partition("=")[2].strip().strip("\"'") + partial_version = ".".join(full_version.split(".")[:2]) + return full_version, partial_version -sys.path.insert(0, str((basedir / "src").resolve())) project = "cachetools" copyright = "2014-2023 Thomas Kemmer" -version = "5.3" -release = "5.3.0" +release, version = get_version() extensions = [ "sphinx.ext.autodoc", @@ -18,4 +30,4 @@ ] exclude_patterns = ["_build"] master_doc = "index" -html_theme = "default" +html_theme = "classic" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/docs/index.rst new/cachetools-5.3.2/docs/index.rst --- old/cachetools-5.3.1/docs/index.rst 2023-01-22 23:22:12.000000000 +0100 +++ new/cachetools-5.3.2/docs/index.rst 2023-10-24 19:41:11.000000000 +0200 @@ -1,3 +1,5 @@ +:tocdepth: 3 + ********************************************************************* :mod:`cachetools` --- Extensible memoizing collections and decorators ********************************************************************* @@ -188,7 +190,7 @@ Extending cache classes ------------------------ +======================= Sometimes it may be desirable to notice when and what cache items are evicted, i.e. removed from a cache to make room for new items. Since diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/setup.cfg new/cachetools-5.3.2/setup.cfg --- old/cachetools-5.3.1/setup.cfg 2023-05-27 22:36:33.982085700 +0200 +++ new/cachetools-5.3.2/setup.cfg 2023-10-24 20:11:47.042555800 +0200 @@ -21,6 +21,7 @@ Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Topic :: Software Development :: Libraries :: Python Modules [options] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/src/cachetools/__init__.py new/cachetools-5.3.2/src/cachetools/__init__.py --- old/cachetools-5.3.1/src/cachetools/__init__.py 2023-05-27 22:32:14.000000000 +0200 +++ new/cachetools-5.3.2/src/cachetools/__init__.py 2023-10-24 20:10:25.000000000 +0200 @@ -13,7 +13,7 @@ "cachedmethod", ) -__version__ = "5.3.1" +__version__ = "5.3.2" import collections import collections.abc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/src/cachetools.egg-info/PKG-INFO new/cachetools-5.3.2/src/cachetools.egg-info/PKG-INFO --- old/cachetools-5.3.1/src/cachetools.egg-info/PKG-INFO 2023-05-27 22:36:33.000000000 +0200 +++ new/cachetools-5.3.2/src/cachetools.egg-info/PKG-INFO 2023-10-24 20:11:47.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: cachetools -Version: 5.3.1 +Version: 5.3.2 Summary: Extensible memoizing collections and decorators Home-page: https://github.com/tkem/cachetools/ Author: Thomas Kemmer @@ -18,6 +18,7 @@ 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: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=3.7 License-File: LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-5.3.1/src/cachetools.egg-info/SOURCES.txt new/cachetools-5.3.2/src/cachetools.egg-info/SOURCES.txt --- old/cachetools-5.3.1/src/cachetools.egg-info/SOURCES.txt 2023-05-27 22:36:33.000000000 +0200 +++ new/cachetools-5.3.2/src/cachetools.egg-info/SOURCES.txt 2023-10-24 20:11:47.000000000 +0200 @@ -6,8 +6,6 @@ setup.cfg setup.py tox.ini -docs/.gitignore -docs/Makefile docs/conf.py docs/index.rst src/cachetools/__init__.py