From 80d0db6017d2ed186e065a7391101dfc1bba4a35 Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Sat, 13 Dec 2025 00:49:30 +0000 Subject: [PATCH 1/5] Remove unused subproject --- fixtures | 1 - 1 file changed, 1 deletion(-) delete mode 160000 fixtures diff --git a/fixtures b/fixtures deleted file mode 160000 index d8bceaa..0000000 --- a/fixtures +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d8bceaa3465d773e9be3801d9eab93559a0084b1 From 1372a6e61d1a784cf962664a20e9cb7fb65671f6 Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Sat, 13 Dec 2025 00:50:03 +0000 Subject: [PATCH 2/5] Remove `runtests` --- runtests | 4 ---- 1 file changed, 4 deletions(-) delete mode 100755 runtests diff --git a/runtests b/runtests deleted file mode 100755 index a083cfe..0000000 --- a/runtests +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -./tests.py $@ -rm -f keyify.py{,c} csv2sw.py{,c} scraperwiki.sqlite From 310b7d7b76edd52b177ef9f43730fd053b52a0d5 Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Sat, 13 Dec 2025 00:51:25 +0000 Subject: [PATCH 3/5] Update README --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 02be6be..e13969c 100644 --- a/README +++ b/README @@ -85,7 +85,7 @@ Miscellaneous ------------- scraperwiki.status(type, message=None) - If run on the ScraperWiki platform (the new one, not Classic), updates the visible status of the dataset. If not on the platform, does nothing. ``type`` can be 'ok' or 'error'. If no ``message`` is given, it will show the time since the update. See `dataset status API `_ in the documentation for details. + Functionality now removed since it was only for the now defunct ScraperWiki platform. It is retained but always returns None. scraperwiki.pdftoxml(pdfdata) Convert a byte string containing a PDF file into an XML file containing the coordinates and font of each text string (see `the pdftohtml documentation `_ for details). This requires ``pdftohtml`` which is part of ``poppler-utils``. From c3fd7d1ecc0650528f2d01b8e62e7a2211f1aa9e Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Sat, 13 Dec 2025 00:56:04 +0000 Subject: [PATCH 4/5] Update how license is defined in `pyproject.toml` --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ddb42c5..bed7f0a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,13 +9,12 @@ description = "Local version of ScraperWiki libraries" authors = [ { name = "ScraperWiki Developers", email = "hello@scraperwiki.com" } ] -license = { text = "GPLv3+" } readme = "README.rst" urls = { Repository = "https://github.com/cantabular/scraperwiki-python" } +license = "GPL-3.0-or-later" classifiers = [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", - "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", From 9162a3899116c87b1158b94d82cc1ebf01f83691 Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Sat, 13 Dec 2025 00:56:58 +0000 Subject: [PATCH 5/5] Build package in CI --- .github/workflows/ci-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index d08c5e2..2d00347 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -38,3 +38,6 @@ jobs: - name: Run tests run: make test + + - name: Build package + run: uv build