forked from pool/python-asttokens
Compare commits
11 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d52589ff61 | |||
| b7720ef867 | |||
| 76c454a0d0 | |||
| 1704f76e4a | |||
| 8c0ba7c964 | |||
| 4341148001 | |||
| f5c884555a | |||
| 565424e61a | |||
| db7132c663 | |||
| 9f2ac65830 | |||
| 46c7b7a6ed |
BIN
asttokens-2.4.1.tar.gz
LFS
BIN
asttokens-2.4.1.tar.gz
LFS
Binary file not shown.
3
asttokens-3.0.1.tar.gz
Normal file
3
asttokens-3.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:71a4ee5de0bde6a31d64f6b13f2293ac190344478f081c3d1bccfcf5eacb0cb7
|
||||||
|
size 62308
|
||||||
@@ -1,3 +1,40 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 08:44:09 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.0.1
|
||||||
|
* Replace ast.Str usages with ast.Constant (#157)
|
||||||
|
* Bump jinja2 from 3.1.4 to 3.1.6 in /docs
|
||||||
|
* Bump urllib3 from 2.2.2 to 2.5.0 in /docs
|
||||||
|
* Bump requests from 2.32.2 to 2.32.4 in /docs
|
||||||
|
* Various links improvements (#163)
|
||||||
|
* Adapt asttokens for astroid 4.x (#165)
|
||||||
|
* Add tests for astroid v2, v3, and v4 to the CI (#166)
|
||||||
|
* Update mypy; add 3.14 to the CI; drop python 3.8 support (#167)
|
||||||
|
- Drop py314-deprecations.patch, merged upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 21 20:18:07 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add py314-deprecations.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 13 05:35:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Oct 27 08:14:19 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-asttokens
|
# spec file for package python-asttokens
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
# Copyright (c) 2019-2021 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
# Copyright (c) 2019-2021 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,12 +17,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%define skip_python36 1
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-asttokens
|
Name: python-asttokens
|
||||||
Version: 2.4.1
|
Version: 3.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Annotate AST trees with source code positions
|
Summary: Annotate AST trees with source code positions
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -31,17 +28,14 @@ URL: https://github.com/gristlabs/asttokens
|
|||||||
Source: https://files.pythonhosted.org/packages/source/a/asttokens/asttokens-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/asttokens/asttokens-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module astroid}
|
BuildRequires: %{python_module astroid}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools >= 44}
|
BuildRequires: %{python_module setuptools >= 44}
|
||||||
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
|
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: %{python_module toml}
|
BuildRequires: %{python_module toml}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
## Manual Begin
|
|
||||||
Requires: python-six
|
|
||||||
## Manual End
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -49,23 +43,27 @@ BuildArch: noarch
|
|||||||
Annotate AST trees with source code positions
|
Annotate AST trees with source code positions
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n asttokens-%{version}
|
%autosetup -p1 -n asttokens-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LC_ALL=en_US.utf8
|
export LC_ALL=en_US.utf8
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export LC_ALL=en_US.utf8
|
export LC_ALL=en_US.utf8
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%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}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/asttokens-%{version}.dist-info
|
||||||
|
%{python_sitelib}/asttokens
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user