15
0

11 Commits

Author SHA256 Message Date
d52589ff61 Accepting request 1318193 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1318193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asttokens?expand=0&rev=15
2025-11-18 14:29:06 +00:00
b7720ef867 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=28
2025-11-17 09:12:03 +00:00
76c454a0d0 Accepting request 1306372 from devel:languages:python
- add py314-deprecations.patch

OBS-URL: https://build.opensuse.org/request/show/1306372
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asttokens?expand=0&rev=14
2025-09-23 14:05:44 +00:00
1704f76e4a - add py314-deprecations.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=26
2025-09-21 20:18:19 +00:00
8c0ba7c964 Accepting request 1285332 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1285332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asttokens?expand=0&rev=13
2025-06-13 16:43:35 +00:00
4341148001 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=24
2025-06-13 05:42:07 +00:00
f5c884555a Accepting request 1273669 from devel:languages:python
- skip test_deep_recursion, it fails in s390x,
  gh#gristlabs/asttokens#159

OBS-URL: https://build.opensuse.org/request/show/1273669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asttokens?expand=0&rev=12
2025-05-01 13:22:32 +00:00
565424e61a - Fix test filter string
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=22
2025-04-30 12:11:38 +00:00
db7132c663 - skip test_deep_recursion, it fails in s390x,
gh#gristlabs/asttokens#159

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=21
2025-04-30 12:08:51 +00:00
9f2ac65830 Accepting request 1238044 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1238044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asttokens?expand=0&rev=11
2025-01-17 17:36:54 +00:00
46c7b7a6ed - version update to 3.0.0
* no upstream changelog found
  * remove dependency on six

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=19
2025-01-15 12:46:45 +00:00
4 changed files with 52 additions and 17 deletions

Binary file not shown.

3
asttokens-3.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71a4ee5de0bde6a31d64f6b13f2293ac190344478f081c3d1bccfcf5eacb0cb7
size 62308

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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>
#
# 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}
Name: python-asttokens
Version: 2.4.1
Version: 3.0.1
Release: 0
Summary: Annotate AST trees with source code positions
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
BuildRequires: %{python_module astroid}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
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
@@ -49,23 +43,27 @@ BuildArch: noarch
Annotate AST trees with source code positions
%prep
%autosetup -n asttokens-%{version}
%autosetup -p1 -n asttokens-%{version}
%build
export LC_ALL=en_US.utf8
%python_build
%pyproject_wheel
%install
export LC_ALL=en_US.utf8
%python_install
%pyproject_install
%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}.dist-info
%{python_sitelib}/asttokens
%changelog