commit python-pep517 for openSUSE:Factory
Hello community, here is the log from the commit of package python-pep517 for openSUSE:Factory checked in at 2020-10-23 12:18:34 Comparing /work/SRC/openSUSE:Factory/python-pep517 (Old) and /work/SRC/openSUSE:Factory/.python-pep517.new.3463 (New) Package is "python-pep517" Fri Oct 23 12:18:34 2020 rev:5 rq:839940 version:0.8.2 Changes: --- /work/SRC/openSUSE:Factory/python-pep517/python-pep517.changes 2020-03-27 00:21:55.492154303 +0100 +++ /work/SRC/openSUSE:Factory/.python-pep517.new.3463/python-pep517.changes 2020-10-23 12:18:39.564537849 +0200 @@ -1,0 +2,6 @@ +Wed Oct 7 03:45:17 UTC 2020 - John Vandenberg + +- Update to v0.8.2 + * Avoid compat.py, to make _in_process.py zip-safe + +--- Old: pep517-0.8.1.tar.gz New: pep517-0.8.2.tar.gz Other differences: -- ++ python-pep517.spec ++ --- /var/tmp/diff_new_pack.Pt6Oom/_old 2020-10-23 12:18:40.456538309 +0200 +++ /var/tmp/diff_new_pack.Pt6Oom/_new 2020-10-23 12:18:40.460538311 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pep517 -Version:0.8.1 +Version:0.8.2 Release:0 Summary:Wrappers to build Python packages using PEP 517 hooks License:MIT ++ pep517-0.8.1.tar.gz -> pep517-0.8.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.8.1/.bumpversion.cfg new/pep517-0.8.2/.bumpversion.cfg --- old/pep517-0.8.1/.bumpversion.cfg 2019-11-23 13:49:22.413706500 +0100 +++ new/pep517-0.8.2/.bumpversion.cfg 2020-04-01 23:10:19.798095000 +0200 @@ -1,7 +1,6 @@ [bumpversion] -current_version = 0.5.0 +current_version = 0.8.2 commit = True tag = True [bumpversion:file:pep517/__init__.py] - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.8.1/PKG-INFO new/pep517-0.8.2/PKG-INFO --- old/pep517-0.8.1/PKG-INFO 1970-01-01 01:00:00.0 +0100 +++ new/pep517-0.8.2/PKG-INFO 1970-01-01 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pep517 -Version: 0.8.1 +Version: 0.8.2 Summary: Wrappers to build Python packages using PEP 517 hooks Home-page: https://github.com/pypa/pep517 Author: Thomas Kluyver diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.8.1/pep517/__init__.py new/pep517-0.8.2/pep517/__init__.py --- old/pep517-0.8.1/pep517/__init__.py 2019-11-23 13:49:22.417708400 +0100 +++ new/pep517-0.8.2/pep517/__init__.py 2020-04-01 23:10:19.806090800 +0200 @@ -1,4 +1,4 @@ """Wrappers to build Python packages using PEP 517 hooks """ -__version__ = '0.8.1' +__version__ = '0.8.2' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.8.1/pep517/_in_process.py new/pep517-0.8.2/pep517/_in_process.py --- old/pep517-0.8.1/pep517/_in_process.py 2019-11-23 13:49:22.417708400 +0100 +++ new/pep517-0.8.2/pep517/_in_process.py 2020-04-01 23:10:19.806090800 +0200 @@ -14,6 +14,7 @@ """ from glob import glob from importlib import import_module +import json import os import os.path from os.path import join as pjoin @@ -22,8 +23,30 @@ import sys import traceback -# This is run as a script, not a module, so it can't do a relative import -import compat +# This file is run as a script, and `import compat` is not zip-safe, so we +# include write_json() and read_json() from compat.py. +# +# Handle reading and writing JSON in UTF-8, on Python 3 and 2. + +if sys.version_info[0] >= 3: +# Python 3 +def write_json(obj, path, **kwargs): +with open(path, 'w', encoding='utf-8') as f: +json.dump(obj, f, **kwargs) + +def read_json(path): +with open(path, 'r', encoding='utf-8') as f: +return json.load(f) + +else: +# Python 2 +def write_json(obj, path, **kwargs): +with open(path, 'wb') as f: +json.dump(obj, f, encoding='utf-8', **kwargs) + +def read_json(path): +with open(path, 'rb') as f: +return json.load(f) class BackendUnavailable(Exception): @@ -233,7 +256,7 @@ sys.exit("Unknown hook: %s" % hook_name) hook = globals()[hook_name] -hook_input = compat.read_json(pjoin(control_dir, 'input.json')) +hook_input = read_json(pjoin(control_dir, 'input.json')) json_out = {'unsupported': False, 'return_val': None} try: @@ -250,7 +273,7 @@ except HookMissing: json_out['hook_missing'] = True -compat.write_json(json_out, pjoin(control_dir, 'output.json'), indent=2) +write_json(json_out, pjoin(control_dir,
commit python-pep517 for openSUSE:Factory
Hello community, here is the log from the commit of package python-pep517 for openSUSE:Factory checked in at 2020-03-27 00:21:53 Comparing /work/SRC/openSUSE:Factory/python-pep517 (Old) and /work/SRC/openSUSE:Factory/.python-pep517.new.3160 (New) Package is "python-pep517" Fri Mar 27 00:21:53 2020 rev:4 rq:784284 version:0.8.1 Changes: --- /work/SRC/openSUSE:Factory/python-pep517/python-pep517.changes 2019-11-04 17:07:11.728311707 +0100 +++ /work/SRC/openSUSE:Factory/.python-pep517.new.3160/python-pep517.changes 2020-03-27 00:21:55.492154303 +0100 @@ -1,0 +2,7 @@ +Thu Mar 12 11:13:58 UTC 2020 - Marketa Calabkova + +- Update to version 0.8.1 + * Update CI to Python 3.8 + * Add trove classifiers for supported Pythons. + +--- Old: pep517-0.7.0.tar.gz New: pep517-0.8.1.tar.gz Other differences: -- ++ python-pep517.spec ++ --- /var/tmp/diff_new_pack.p5TQfw/_old 2020-03-27 00:21:56.652154890 +0100 +++ /var/tmp/diff_new_pack.p5TQfw/_new 2020-03-27 00:21:56.656154893 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pep517 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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-pep517 -Version:0.7.0 +Version:0.8.1 Release:0 Summary:Wrappers to build Python packages using PEP 517 hooks License:MIT ++ pep517-0.7.0.tar.gz -> pep517-0.8.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.7.0/.travis.yml new/pep517-0.8.1/.travis.yml --- old/pep517-0.7.0/.travis.yml2019-02-01 13:23:08.954486100 +0100 +++ new/pep517-0.8.1/.travis.yml2019-11-23 13:49:22.413706500 +0100 @@ -3,7 +3,8 @@ language: python python: -- &latest_py3 3.7 +- &latest_py3 3.8 +- 3.7 - 3.6 - 3.5 - 3.4 @@ -20,10 +21,10 @@ python: *latest_py3 before_script: skip env: -- TWINE_USERNAME=jaraco -# TWINE_PASSWORD -- secure: g3w+/zzPCeLzZFdDVUj9+bsThzbRyHfVZpoR9Nh1LR7C9CHun6URtplfRl2dp1XHY3pc8YvhiiIllOKuX/5AQRnVhl3eDsAtTcCs4VaAwxF/6MLqnO5rAAviAS8e3O8aW6a9V+5YjSlbWCahfSU+lImf8BTSqIRfvgJNH5cFhDgzPlJociGq9uDQLmNkXVxNoPwAOu6QhpQg68uHs6WvdMBGxHPIQ4cu8l5bUps+6XG0ZMLDKSOjpHFqDO4qih4V8PB8f518UO5hejaaaxV0oOo5hazRtru+Q0xUMVdvVo1egAuU96CZmF6iusNz+0/RGwcspHLnNuvv/h9MBcc7LYkck4KEZmCvvt3yXUxJch3srHfJNUPcpbfOskdB8AlD+MUVnc8sAsx193b5gvm5+vgGpM1srkOwnsKbvv6viDOCT19nZhBLRf6Q3EsazzWlvmI7LgjniGFbr/fstNGN9MVP1lq4eu2V7n5lrg8liSYFNhukhQAYrZstJJnX2BFkipjM79p0gMJGzLIzXET7T5p1EYYvMJTu7Lh9xFfmNH8UKvNsPOcoMPDVgGTgQEzJAVdCnl6XfuKxg6vIwE4X/US2qZHWmVXmgIH9Xmavub6UqyhGL/LdxvE8pXzM+8Vui3Sd/LqjQh3qEuAFQRIOrSO11xod2UfIXNgQyj2Wp+8= -- TOX_TESTENV_PASSENV="TWINE_USERNAME TWINE_PASSWORD" +- FLIT_USERNAME=__token__ +# FLIT_PASSWORD +- secure: "DTuasBqocwWziNCZ9oNdHdThD5b+Kbfv+4Loi2sW6zdZZnanHRantUg9jMQHEWS8SwFgvjsUlIjcjgALGeDV3Ya+ACm0KcsCiGCHYcG7XtYjKmIfXhQ1c6/YTAMi0z/aXjmXttFjwNySGQ6eXSrqMGs3m44zuVV3BSCpW9jLezmGiXltxKfxUCePxMrpFr66CKD3/Js3xQxUYp5MP50qz3FTASURSGivw2cEeuMJy+PtHahhqAjpq13SPMZuMshZGy2t3uP3qf91edMqxZ/sVf803fBbqZL+MEOmT1mTx5ZTZBXdoCUKWydfEbF5jclpvdSc9SNa3rX3sGh0yhcHPQUdyO4BJuERxhyqs7FWs8hJBp40bDkaX/QDXHQiCidO6Ayrm7c75aA+OkxU8suxFDBsF4gRzqkejL3E8wz26Ye7IfEwoKYbUw0S9aHzwwmJZWNgM0QhdP7nDbUVIGYkjPmgNc8HHmkMyPu0WbwiwatDv16pR2Mvk2fjhuP5McUeHmrI57UGyVnxq8JbUjD11G0RW4XqWoqybWSYhHTHFORr2OjodJsprUN+dFzKyVmwPE60yr3Ve0H4roM/W98wh4S7EqRn4rJt1NqC8q8ZRTe2D0bb5ancPYCe+lQcvgO2YDNzDh8kucGON9fEgSFZ9mVG0Fa1UG3EvXJ3K7FjbyA=" +- TOX_TESTENV_PASSENV="FLIT_USERNAME FLIT_PASSWORD" - TOXENV=release script: tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.7.0/PKG-INFO new/pep517-0.8.1/PKG-INFO --- old/pep517-0.7.0/PKG-INFO 1970-01-01 01:00:00.0 +0100 +++ new/pep517-0.8.1/PKG-INFO 1970-01-01 01:00:00.0 +0100 @@ -1,7 +1,7 @@ Metadata-Version: 1.1 Name: pep517 -Version: 0.7.0 +Version: 0.8.1 Summary: Wrappers to build Python packages using PEP 517 hooks -Home-page: https://github.com/takluyver/pep517 +Home-page: https://github.com/pypa/pep517 Author: Thomas Kluyver Author-email: tho...@kluyver.me.uk diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.7.0/README.rst new/pep517-0.8.1/README.rst --- old/pep517-0.7.0/README.rst 2019-09-27 13:13:51.062879800 +0200 +++ new/pep517-0.8.1/README.rst 2019-11-23 13:49:22.413706500 +0100 @@
commit python-pep517 for openSUSE:Factory
Hello community, here is the log from the commit of package python-pep517 for openSUSE:Factory checked in at 2019-11-04 17:07:08 Comparing /work/SRC/openSUSE:Factory/python-pep517 (Old) and /work/SRC/openSUSE:Factory/.python-pep517.new.2990 (New) Package is "python-pep517" Mon Nov 4 17:07:08 2019 rev:3 rq:741051 version:0.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-pep517/python-pep517.changes 2019-08-30 14:39:45.333436446 +0200 +++ /work/SRC/openSUSE:Factory/.python-pep517.new.2990/python-pep517.changes 2019-11-04 17:07:11.728311707 +0100 @@ -1,0 +2,8 @@ +Fri Oct 18 10:47:59 UTC 2019 - Marketa Calabkova + +- Update to version 0.7.0 + * Migrate from pytoml to toml. + * Include name of missing hook in HookMissing + * Support back-end path in pyproject.toml + +--- Old: pep517-0.6.0.tar.gz New: pep517-0.7.0.tar.gz Other differences: -- ++ python-pep517.spec ++ --- /var/tmp/diff_new_pack.GeMrnb/_old 2019-11-04 17:07:12.372312395 +0100 +++ /var/tmp/diff_new_pack.GeMrnb/_new 2019-11-04 17:07:12.376312399 +0100 @@ -18,22 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pep517 -Version:0.6.0 +Version:0.7.0 Release:0 Summary:Wrappers to build Python packages using PEP 517 hooks License:MIT -Group: Development/Languages/Python URL:https://github.com/takluyver/pep517 Source: https://files.pythonhosted.org/packages/source/p/pep517/pep517-%{version}.tar.gz +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module testpath} +BuildRequires: %{python_module toml} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-toml BuildArch: noarch -Requires: python-pytoml -BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module pytoml} -BuildRequires: %{python_module testpath} %python_subpackages %description ++ pep517-0.6.0.tar.gz -> pep517-0.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.6.0/PKG-INFO new/pep517-0.7.0/PKG-INFO --- old/pep517-0.6.0/PKG-INFO 1970-01-01 01:00:00.0 +0100 +++ new/pep517-0.7.0/PKG-INFO 1970-01-01 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pep517 -Version: 0.6.0 +Version: 0.7.0 Summary: Wrappers to build Python packages using PEP 517 hooks Home-page: https://github.com/takluyver/pep517 Author: Thomas Kluyver diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.6.0/README.rst new/pep517-0.7.0/README.rst --- old/pep517-0.6.0/README.rst 2019-02-01 13:28:28.911631300 +0100 +++ new/pep517-0.7.0/README.rst 2019-09-27 13:13:51.062879800 +0200 @@ -34,16 +34,20 @@ .. code-block:: python import os -import pytoml +import toml from pep517.wrappers import Pep517HookCaller src = 'path/to/source' # Folder containing 'pyproject.toml' with open(os.path.join(src, 'pyproject.toml')) as f: -build_sys = pytoml.load(f)['build-system'] +build_sys = toml.load(f)['build-system'] print(build_sys['requires']) # List of static requirements -hooks = Pep517HookCaller(src, build_backend=build_sys['build_backend']) +hooks = Pep517HookCaller( +src, +build_backend=build_sys['build_backend'], +backend_path=build_sys.get('backend-path'), +) config_options = {} # Optional parameters for backend # List of dynamic requirements: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.6.0/dev-requirements.txt new/pep517-0.7.0/dev-requirements.txt --- old/pep517-0.6.0/dev-requirements.txt 2019-08-06 12:38:22.919091000 +0200 +++ new/pep517-0.7.0/dev-requirements.txt 2019-09-27 13:13:51.062879800 +0200 @@ -2,7 +2,7 @@ pytest-flake8 mock testpath -pytoml +toml setuptools>=30 importlib_metadata zipp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.6.0/pep517/__init__.py new/pep517-0.7.0/pep517/__init__.py --- old/pep517-0.6.0/pep517/__init__.py 2019-08-06 12:40:43.178316800 +0200 +++ new/pep517-0.7.0/pep517/__init__.py 2019-09-27 13:14:30.881992300 +0200 @@ -1,4 +1,4 @@ """Wrappers to build Python packages using PEP 517 hooks """ -__version__ = '0.6.0' +__version__ = '0.7.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.sv
commit python-pep517 for openSUSE:Factory
Hello community, here is the log from the commit of package python-pep517 for openSUSE:Factory checked in at 2019-08-30 14:39:44 Comparing /work/SRC/openSUSE:Factory/python-pep517 (Old) and /work/SRC/openSUSE:Factory/.python-pep517.new.7948 (New) Package is "python-pep517" Fri Aug 30 14:39:44 2019 rev:2 rq:726606 version:0.6.0 Changes: --- /work/SRC/openSUSE:Factory/python-pep517/python-pep517.changes 2019-03-22 15:00:40.913815072 +0100 +++ /work/SRC/openSUSE:Factory/.python-pep517.new.7948/python-pep517.changes 2019-08-30 14:39:45.333436446 +0200 @@ -1,0 +2,11 @@ +Tue Aug 27 14:19:08 UTC 2019 - Marketa Calabkova + +- update to version 0.6.0 + * Rely on __legacy__ for fallback behavior. + * Add a runner argument to Pep517HookCaller. + * Rename 'build_meta' to simply 'meta' + * Use the classic syntax for __main__ detection + * Move 'build' support to build module + * backend-path fixes + +--- Old: pep517-0.5.0.tar.gz New: pep517-0.6.0.tar.gz Other differences: -- ++ python-pep517.spec ++ --- /var/tmp/diff_new_pack.KOKTsf/_old 2019-08-30 14:39:46.333436265 +0200 +++ /var/tmp/diff_new_pack.KOKTsf/_new 2019-08-30 14:39:46.333436265 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pep517 -Version:0.5.0 +Version:0.6.0 Release:0 Summary:Wrappers to build Python packages using PEP 517 hooks License:MIT @@ -30,10 +30,10 @@ BuildRequires: python-rpm-macros BuildArch: noarch Requires: python-pytoml +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytoml} BuildRequires: %{python_module testpath} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module mock} %python_subpackages %description @@ -51,7 +51,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m pytest +#test_meta.py: xFx (F like "failed to download package via pip") +%pytest --ignore tests/test_meta.py %files %{python_files} %doc README.rst ++ pep517-0.5.0.tar.gz -> pep517-0.6.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.5.0/PKG-INFO new/pep517-0.6.0/PKG-INFO --- old/pep517-0.5.0/PKG-INFO 1970-01-01 01:00:00.0 +0100 +++ new/pep517-0.6.0/PKG-INFO 1970-01-01 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pep517 -Version: 0.5.0 +Version: 0.6.0 Summary: Wrappers to build Python packages using PEP 517 hooks Home-page: https://github.com/takluyver/pep517 Author: Thomas Kluyver diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.5.0/README.rst new/pep517-0.6.0/README.rst --- old/pep517-0.5.0/README.rst 2018-12-17 18:23:15.552506700 +0100 +++ new/pep517-0.6.0/README.rst 2019-02-01 13:28:28.911631300 +0100 @@ -34,11 +34,16 @@ .. code-block:: python import os +import pytoml from pep517.wrappers import Pep517HookCaller src = 'path/to/source' # Folder containing 'pyproject.toml' -hooks = Pep517HookCaller(src) -print(hooks.build_sys_requires) # List of static requirements +with open(os.path.join(src, 'pyproject.toml')) as f: +build_sys = pytoml.load(f)['build-system'] + +print(build_sys['requires']) # List of static requirements + +hooks = Pep517HookCaller(src, build_backend=build_sys['build_backend']) config_options = {} # Optional parameters for backend # List of dynamic requirements: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.5.0/dev-requirements.txt new/pep517-0.6.0/dev-requirements.txt --- old/pep517-0.5.0/dev-requirements.txt 2018-12-17 18:23:15.552506700 +0100 +++ new/pep517-0.6.0/dev-requirements.txt 2019-08-06 12:38:22.919091000 +0200 @@ -4,3 +4,5 @@ testpath pytoml setuptools>=30 +importlib_metadata +zipp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.5.0/pep517/__init__.py new/pep517-0.6.0/pep517/__init__.py --- old/pep517-0.5.0/pep517/__init__.py 2018-12-17 18:23:15.552506700 +0100 +++ new/pep517-0.6.0/pep517/__init__.py 2019-08-06 12:40:43.178316800 +0200 @@ -1,4 +1,4 @@ """Wrappers to build Python packages using PEP 517 hooks """ -__version__ = '0.5.0' +__version__ = '0.6.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pep517-0.5.0/pep517/_in_process.py new/pep517-0.6.0/pep517/_in_process.py --- old/pep517-0.5.0/pep517/_in_process.