Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-libsass for openSUSE:Factory checked in at 2021-08-06 22:44:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-libsass (Old) and /work/SRC/openSUSE:Factory/.python-libsass.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libsass" Fri Aug 6 22:44:45 2021 rev:8 rq:910346 version:0.21.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-libsass/python-libsass.changes 2020-08-18 15:10:14.564020587 +0200 +++ /work/SRC/openSUSE:Factory/.python-libsass.new.1899/python-libsass.changes 2021-08-06 22:45:22.318007679 +0200 @@ -1,0 +2,6 @@ +Tue Aug 3 13:10:23 UTC 2021 - Mark??ta Machov?? <mmach...@suse.com> + +- Update to 0.21.0 + * Follow up the libsass upstream: 3.6.5 + +------------------------------------------------------------------- Old: ---- 0.20.0.tar.gz New: ---- 0.21.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-libsass.spec ++++++ --- /var/tmp/diff_new_pack.wqKYwB/_old 2021-08-06 22:45:22.778006863 +0200 +++ /var/tmp/diff_new_pack.wqKYwB/_new 2021-08-06 22:45:22.782006856 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-libsass # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define _name libsass-python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-libsass -Version: 0.20.0 +Version: 0.21.0 Release: 0 Summary: Python binding for libsass License: MIT @@ -37,7 +37,7 @@ Requires: python-setuptools Requires: python-six Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives # Both are providing sassc binary with different parameters Conflicts: sassc # SECTION test requirements ++++++ 0.20.0.tar.gz -> 0.21.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/.pre-commit-config.yaml new/libsass-python-0.21.0/.pre-commit-config.yaml --- old/libsass-python-0.20.0/.pre-commit-config.yaml 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/.pre-commit-config.yaml 2021-05-21 03:41:54.000000000 +0200 @@ -1,21 +1,21 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.4.0 + rev: v4.0.1 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: debug-statements -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.7.9 +- repo: https://github.com/PyCQA/flake8 + rev: 3.9.2 hooks: - id: flake8 exclude: ^docs/conf.py - repo: https://github.com/asottile/pyupgrade - rev: v1.26.2 + rev: v2.16.0 hooks: - id: pyupgrade - repo: https://github.com/asottile/add-trailing-comma - rev: v1.5.0 + rev: v2.1.0 hooks: - id: add-trailing-comma diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/CONTRIBUTING.rst new/libsass-python-0.21.0/CONTRIBUTING.rst --- old/libsass-python-0.20.0/CONTRIBUTING.rst 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/CONTRIBUTING.rst 2021-05-21 03:41:54.000000000 +0200 @@ -55,11 +55,11 @@ but there's ``./bin/download-windows-wheels`` script that downloads built wheels. Then upload them with ``twine``. - Run ``./bin/build-manylinux-wheels`` to build linux wheels and upload them to - PyPI (takes ~10 minutes). + PyPI (takes ~5 minutes). - The `docs website`__ also has to be updated. It's currently a static website deployed on GitHub Pages. Use ``python setup.py upload_doc`` command. - Although it seems possible to be automated using Travis. + Although it seems possible to be automated using Github Actions. - Manually create a release through https://github.com/sass/libsass-python/releases/ Ping Hong Minhee (hongmin...@member.fsf.org, @dahlia on GitHub) if you need diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/README.rst new/libsass-python-0.21.0/README.rst --- old/libsass-python-0.20.0/README.rst 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/README.rst 2021-05-21 03:41:54.000000000 +0200 @@ -13,6 +13,10 @@ :target: https://dev.azure.com/asottile/asottile/_build/latest?definitionId=22&branchName=master :alt: Coverage Status +.. image:: https://results.pre-commit.ci/badge/github/sass/libsass-python/master.svg + :target: https://results.pre-commit.ci/latest/github/sass/libsass-python/master + :alt: pre-commit.ci status + This package provides a simple Python extension module ``sass`` which is binding LibSass_ (written in C/C++ by Hampton Catlin and Aaron Leung). It's very straightforward and there isn't any headache related Python @@ -108,6 +112,6 @@ Hampton Catlin originally designed Sass_ language and wrote the first reference implementation of it in Ruby. -The above three softwares are all distributed under `MIT license`_. +The above three are all distributed under `MIT license`_. .. _MIT license: https://mit-license.org/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/azure-pipelines.yml new/libsass-python-0.21.0/azure-pipelines.yml --- old/libsass-python-0.20.0/azure-pipelines.yml 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/azure-pipelines.yml 2021-05-21 03:41:54.000000000 +0200 @@ -13,10 +13,14 @@ type: github endpoint: github name: asottile/azure-pipeline-templates - ref: refs/tags/v2.0.0 + ref: refs/tags/v2.1.0 jobs: -- template: job--pre-commit.yml@asottile +- template: job--python-tox.yml@asottile + parameters: + toxenvs: [py27, py36] + os: macos + wheel_tags: true - template: job--python-tox.yml@asottile parameters: toxenvs: [py27] @@ -28,11 +32,11 @@ - script: rm -rf libsass/test - template: job--python-tox.yml@asottile parameters: - toxenvs: [py36, py37, py38] + toxenvs: [py36] os: windows architectures: [x64, x86] wheel_tags: true - template: job--python-tox.yml@asottile parameters: - toxenvs: [pypy, pypy3, py27, py36, py37, py38] + toxenvs: [pypy, pypy3, py27, py36, py37, py38, py39] os: linux diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/bin/build-manylinux-wheels new/libsass-python-0.21.0/bin/build-manylinux-wheels --- old/libsass-python-0.20.0/bin/build-manylinux-wheels 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/bin/build-manylinux-wheels 2021-05-21 03:41:54.000000000 +0200 @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3 """Script for building 'manylinux' wheels for libsass. Run me after putting the source distribution on pypi. @@ -21,12 +21,7 @@ def main(): os.makedirs('dist', exist_ok=True) - for python in ( - 'cp27-cp27mu', - 'cp35-cp35m', - 'cp36-cp36m', - 'cp37-cp37m', - ): + for python in ('cp27-cp27mu', 'cp36-cp36m'): with tempfile.TemporaryDirectory() as work: pip = '/opt/python/{}/bin/pip'.format(python) check_call( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/docs/changes.rst new/libsass-python-0.21.0/docs/changes.rst --- old/libsass-python-0.20.0/docs/changes.rst 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/docs/changes.rst 2021-05-21 03:41:54.000000000 +0200 @@ -1,11 +1,31 @@ Changelog ========= +Version 0.21.1 +-------------- + +Released on May 20, 2021. + +- Fix build on OpenBSD. [:issue:`310` by Denis Fondras]. +- Produce abi3 wheels on windows. [:issue:`322` by Anthony Sottile] +- Make the manpage build reproducible. [:issue:`319` by Chris Lamb] +- Follow up the libsass upstream: 3.6.5 --- See the release notes of LibSass + 3.6.5__. [:issue:`344` by Anthony Sottile] + +__ https://github.com/sass/libsass/releases/tag/3.6.5 + +Version 0.20.1 +-------------- + +Released on August 27, 2020. + +- (no changes, re-releasing to test build automation) + Version 0.20.0 -------------- -Released on November 3, 2019. +Released on May 1, 2020. - Produce abi3 wheels on macos / linux [:issue:`307` by Anthony Sottile] - Follow up the libsass upstream: 3.6.4 --- See the release notes of LibSass @@ -737,8 +757,8 @@ - Dropped support for Python 2.5. - Fixed build failing on Mac OS X. [:issue:`4`, :issue:`5`, :issue:`6` by Hyungoo Kang] -- Now builder creates target recursive subdirectories even if it doesn't - exist yet, rather than siliently fails. +- Now the builder creates target subdirectories recursively even if they don't + exist yet, rather than silently failing. [:issue:`8`, :issue:`9` by Philipp Volguine] - Merged recent changes from libsass 1.0.1: `57a2f62--v1.0.1`_. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/docs/index.rst new/libsass-python-0.21.0/docs/index.rst --- old/libsass-python-0.20.0/docs/index.rst 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/docs/index.rst 2021-05-21 03:41:54.000000000 +0200 @@ -121,7 +121,7 @@ Hampton Catlin originally designed Sass_ language and wrote the first reference implementation of it in Ruby. -The above three softwares are all distributed under `MIT license`_. +The above three are all distributed under `MIT license`_. .. _MIT license: https://mit-license.org/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/sass.py new/libsass-python-0.21.0/sass.py --- old/libsass-python-0.20.0/sass.py 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/sass.py 2021-05-21 03:41:54.000000000 +0200 @@ -31,7 +31,7 @@ 'SassError', 'SassFunction', 'SassList', 'SassMap', 'SassNumber', 'SassWarning', 'and_join', 'compile', 'libsass_version', ) -__version__ = '0.20.0' +__version__ = '0.21.0' libsass_version = _sass.libsass_version @@ -739,7 +739,7 @@ def and_join(strings): - """Join the given ``strings`` by commas with last `' and '` conjuction. + """Join the given ``strings`` by commas with last `' and '` conjunction. >>> and_join(['Korea', 'Japan', 'China', 'Taiwan']) 'Korea, Japan, China, and Taiwan' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/sasstests.py new/libsass-python-0.21.0/sasstests.py --- old/libsass-python-0.20.0/sasstests.py 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/sasstests.py 2021-05-21 03:41:54.000000000 +0200 @@ -785,8 +785,8 @@ 'names': [], 'mappings': ( ';AAKA,AAAA,IAAI,CAAC;EAHH,gBAAgB,EAAE,KAAK,GAQxB;' - 'EALD,AAEE,IAFE,CAEF,CAAC,CAAC;IACA,IAAI,EAAE,sBAAsB,' - 'GAC7B' + 'EALD,AAEE,IAFE,CAEF,CAAC,CAAC;IACA,IAAI,EAAE,kBAAkB,' + 'GACzB' ), }, os.path.join(d, 'css', 'd.scss.css.map'), @@ -1633,9 +1633,9 @@ # TODO: https://github.com/sass/libsass/issues/3092 assert tb.endswith( 'CompileError: Error: Invalid CSS after "a{???": expected "{", was ""\n' - ' on line 1:5 of stdin\n' + ' on line 1:4 of stdin\n' '>> a{???\n' - ' ----^\n\n', + ' ---^\n\n', ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/sassutils/builder.py new/libsass-python-0.21.0/sassutils/builder.py --- old/libsass-python-0.20.0/sassutils/builder.py 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/sassutils/builder.py 2021-05-21 03:41:54.000000000 +0200 @@ -22,7 +22,9 @@ #: (:class:`re.RegexObject`) The regular expression pattern which matches to #: filenames of supported :const:`SUFFIXES`. -SUFFIX_PATTERN = re.compile('[.](' + '|'.join(map(re.escape, SUFFIXES)) + ')$') +SUFFIX_PATTERN = re.compile( + '[.](' + '|'.join(map(re.escape, sorted(SUFFIXES))) + ')$', +) def build_directory( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/sassutils/wsgi.py new/libsass-python-0.21.0/sassutils/wsgi.py --- old/libsass-python-0.20.0/sassutils/wsgi.py 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/sassutils/wsgi.py 2021-05-21 03:41:54.000000000 +0200 @@ -18,7 +18,7 @@ class SassMiddleware(object): - r"""WSGI middleware for development purpose. Everytime a CSS file has + r"""WSGI middleware for development purpose. Every time a CSS file has requested it finds a matched Sass/SCSS source file and then compiled it into CSS. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/setup.py new/libsass-python-0.21.0/setup.py --- old/libsass-python-0.20.0/setup.py 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/setup.py 2021-05-21 03:41:54.000000000 +0200 @@ -31,14 +31,14 @@ elif platform.system() == 'Darwin': extra_compile_args = FLAGS_CLANG + MACOS_FLAG extra_link_args = LFLAGS_CLANG + MACOS_FLAG -elif platform.system() == 'FreeBSD': +elif platform.system() in {'FreeBSD', 'OpenBSD'}: extra_compile_args = FLAGS_CLANG extra_link_args = LFLAGS_CLANG else: extra_compile_args = FLAGS_POSIX extra_link_args = LFLAGS_POSIX -if platform.system() in {'Darwin', 'FreeBSD'}: +if platform.system() in {'Darwin', 'FreeBSD', 'OpenBSD'}: os.environ.setdefault('CC', 'clang') os.environ.setdefault('CXX', 'clang++') orig_customize_compiler = distutils.sysconfig.customize_compiler @@ -117,7 +117,7 @@ if get_build_version() < 14.0: msvc9compiler.get_build_version = lambda: 14.0 msvc9compiler.VERSION = 14.0 - elif platform.system() in ('Darwin', 'FreeBSD'): + elif platform.system() in {'Darwin', 'FreeBSD', 'OpenBSD'}: # Dirty workaround to avoid link error... # Python distutils doesn't provide any way # to configure different flags for each cc and c++. @@ -223,11 +223,7 @@ cmdclass = {'upload_doc': upload_doc} -if ( - sys.platform != 'win32' and - sys.version_info >= (3,) and - platform.python_implementation() == 'CPython' -): +if sys.version_info >= (3,) and platform.python_implementation() == 'CPython': try: import wheel.bdist_wheel except ImportError: @@ -285,9 +281,10 @@ 'Programming Language :: C++', 'Programming Language :: Python :: 2.7', '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 :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Programming Language :: Python :: Implementation :: Stackless', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsass-python-0.20.0/tox.ini new/libsass-python-0.21.0/tox.ini --- old/libsass-python-0.20.0/tox.ini 2020-05-01 17:54:17.000000000 +0200 +++ new/libsass-python-0.21.0/tox.ini 2021-05-21 03:41:54.000000000 +0200 @@ -1,5 +1,5 @@ [tox] -envlist = pypy,pypy3,py27,py36,py37,py38,pre-commit +envlist = pypy,pypy3,py27,py36,py37,py38,py39,pre-commit [testenv] usedevelop = true