Bug 2575659 - Review Request: python-cstq - Query and modify Python source code using LibCST
Summary: Review Request: python-cstq - Query and modify Python source code using LibCST
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/aleivag/cstq
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-18 04:49 UTC by Davide Cavalca
Modified: 2026-11-20 08:39 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-11-19 00:18:25 UTC
Type: ---
Embargoed:
michel: fedora-review+


Attachments (Terms of Use)

Description Davide Cavalca 2026-11-18 04:49:49 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/python-cstq/python-cstq.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/python-cstq/python-cstq-0.0.20-1.fc46.src.rpm
Upstream URL: https://github.com/aleivag/cstq

Description:
cstq is a simple library to navigate and manipulate Python source code, based
on LibCST. Nodes of the concrete syntax tree can be selected by attribute
access, filtering and searching, and then changed, replaced, inserted or
removed.

Fedora Account System Username: dcavalca

Comment 1 Davide Cavalca 2026-11-18 04:49:51 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=152403418

Comment 2 Michel Lind 2026-11-18 11:36:51 UTC
LGTM - approved

===

Changes from what pyp2spec 0.16.0 generates for cstq 0.0.20 (leaving out its comments, the Release line, the changelog and extra blank lines):

--- pyp2spec 0.16.0
+++ submitted
@@ -1,6 +1,6 @@
 Name:           python-cstq
 Version:        0.0.20
-Summary:        ...
+Summary:        Query and modify Python source code using LibCST

 License:        MIT
 URL:            https://github.com/aleivag/cstq
@@ -7,10 +7,15 @@
 Source:         %{pypi_source cstq}

 BuildArch:      noarch
+
 BuildRequires:  python3-devel
+BuildRequires:  python3dist(pytest)

 %global _description %{expand:
-This is package 'cstq' generated automatically by pyp2spec.}
+cstq is a simple library to navigate and manipulate Python source code, based
+on LibCST. Nodes of the concrete syntax tree can be selected by attribute
+access, filtering and searching, and then changed, replaced, inserted or
+removed.}

 %description %_description

@@ -34,7 +39,9 @@

 %check
 %pyproject_check_import
+%pytest -v

 %files -n python3-cstq -f %{pyproject_files}
+%doc README.md docs/

 %changelog

Check the summary and description against:
- upstream: https://github.com/aleivag/cstq
- PyPI: https://pypi.org/project/cstq/0.0.20/

✅ package contains only permissible content
✅ spec compared with pyp2spec's output
✅ package builds and installs without errors on rawhide
✅ test suite is run and all unit tests pass
✅ latest version of the package is packaged (spec & PyPI: 0.0.20)
✅ license matches upstream specification and is acceptable for Fedora (spec & PyPI: MIT)
✅ license file is included with %license in %files
✅ files are listed with %pyproject_save_files
✅ BuildRequires are generated with %pyproject_buildrequires
✅ package complies with Python Packaging Guidelines

Package APPROVED.

===

Recommended post-import tasks:

- set up package on release-monitoring.org:
  project: cstq
  homepage: https://pypi.org/project/cstq/
  backend: PyPI
  version scheme: RPM
  distro: Fedora
  Package: python-cstq

- consider adding @python-packagers-sig as package co-maintainer

- track package in koschei for all built branches

Comment 3 Fedora Admin user for bugzilla script actions 2026-11-18 21:34:25 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/python-cstq
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 4 Fedora Update System 2026-11-18 21:44:46 UTC
FEDORA-2026-cdf5d8f18a (python-cstq-0.0.20-1.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-cdf5d8f18a

Comment 5 Fedora Update System 2026-11-19 00:18:25 UTC
FEDORA-2026-cdf5d8f18a (python-cstq-0.0.20-1.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-11-19 03:00:50 UTC
FEDORA-2026-5ed499dacc has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-5ed499dacc \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-5ed499dacc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-11-19 03:28:17 UTC
FEDORA-2026-d57e06053b has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d57e06053b \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d57e06053b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-11-19 04:44:28 UTC
FEDORA-2026-daeddada7a has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-daeddada7a \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-daeddada7a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-11-20 08:39:05 UTC
FEDORA-EPEL-2026-a68dd4cd1b has been pushed to the Fedora EPEL 10.4 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-a68dd4cd1b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.


Note You need to log in before you can comment on or make changes to this bug.