17
0

6 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
4 changed files with 34 additions and 11 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,27 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-asttokens
#
# Copyright (c) 2025 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,11 +17,9 @@
#
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-asttokens
Version: 3.0.0
Version: 3.0.1
Release: 0
Summary: Annotate AST trees with source code positions
License: Apache-2.0
@@ -30,6 +28,7 @@ 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}
@@ -44,15 +43,15 @@ 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
@@ -64,7 +63,7 @@ donttest+=" or test_deep_recursion"
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/asttokens-%{version}-*-info
%{python_sitelib}/asttokens-%{version}.dist-info
%{python_sitelib}/asttokens
%changelog