Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
64c7c3d0f3 |
BIN
asttokens-2.4.0.tar.gz
(Stored with Git LFS)
BIN
asttokens-2.4.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
asttokens-3.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
asttokens-3.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 30 12:07:17 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- skip test_deep_recursion, it fails in s390x,
|
||||
gh#gristlabs/asttokens#159
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 12:38:36 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- version update to 3.0.0
|
||||
* no upstream changelog found
|
||||
* remove dependency on six
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 27 08:14:19 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Update to version 2.4.1
|
||||
* Support Astroid v3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 18 20:07:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-asttokens
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2019-2021 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,12 +17,11 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-asttokens
|
||||
Version: 2.4.0
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: Annotate AST trees with source code positions
|
||||
License: Apache-2.0
|
||||
@@ -34,14 +33,10 @@ BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= 44}
|
||||
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
## Manual Begin
|
||||
Requires: python-six
|
||||
## Manual End
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -61,11 +56,15 @@ export LC_ALL=en_US.utf8
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest -k 'not TestAstroid'
|
||||
donttest="TestAstroid"
|
||||
# Fails in s390x gh#gristlabs/asttokens#159
|
||||
donttest+=" or test_deep_recursion"
|
||||
%pytest -k "not ($donttest)"
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/asttokens-%{version}-*-info
|
||||
%{python_sitelib}/asttokens
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user