forked from pool/python-autopep8
Accepting request 1073058 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1073058 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-autopep8?expand=0&rev=27
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d27a8929d8dcd21c0f4b3859d2d07c6c25273727b98afc984c039df0f0d86566
|
||||
size 115905
|
||||
3
autopep8-2.0.2.tar.gz
Normal file
3
autopep8-2.0.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f9849cdd62108cb739dbcdbfb7fdcc9a30d1b63c4cc3e1c1f893b5360941b61c
|
||||
size 116154
|
||||
@@ -1,21 +0,0 @@
|
||||
diff --git a/test/test_autopep8.py b/test/test_autopep8.py
|
||||
index 5f4dbed8..c6319cfa 100755
|
||||
--- a/test/test_autopep8.py
|
||||
+++ b/test/test_autopep8.py
|
||||
@@ -40,13 +40,14 @@
|
||||
)
|
||||
|
||||
if 'AUTOPEP8_COVERAGE' in os.environ and int(os.environ['AUTOPEP8_COVERAGE']):
|
||||
- AUTOPEP8_CMD_TUPLE = ('coverage', 'run', '--branch', '--parallel',
|
||||
+ AUTOPEP8_CMD_TUPLE = (sys.executable, '-Wignore::DeprecationWarning',
|
||||
+ '-m', 'coverage', 'run', '--branch', '--parallel',
|
||||
'--omit=*/site-packages/*',
|
||||
os.path.join(ROOT_DIR, 'autopep8.py'),)
|
||||
else:
|
||||
# We need to specify the executable to make sure the correct Python
|
||||
# interpreter gets used.
|
||||
- AUTOPEP8_CMD_TUPLE = (sys.executable,
|
||||
+ AUTOPEP8_CMD_TUPLE = (sys.executable, '-Wignore::DeprecationWarning',
|
||||
os.path.join(ROOT_DIR,
|
||||
'autopep8.py'),) # pragma: no cover
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 13 08:44:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.0.2:
|
||||
* Ignore DeprecationWarnings to fix tests on py3.11
|
||||
* fix: infinite loop in autopep8.fix_code without w50 ignore
|
||||
option
|
||||
- drop ignore-deprecation.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 12:46:02 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
||||
@@ -17,15 +17,13 @@
|
||||
|
||||
|
||||
Name: python-autopep8
|
||||
Version: 2.0.1
|
||||
Version: 2.0.2
|
||||
Release: 0
|
||||
Summary: Automatic generated to pep8 checked code
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/hhatto/autopep8
|
||||
Source: https://files.pythonhosted.org/packages/source/a/autopep8/autopep8-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM ignore-deprecation.patch gh#hhatto/autopep8#665/files
|
||||
Patch: ignore-deprecation.patch
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pycodestyle >= 2.8}
|
||||
|
||||
Reference in New Issue
Block a user