Skip to content

Adopt modern pyproject packaging and uv workflows - #8

Merged
achabotl merged 5 commits into
mainfrom
pyproject
Jul 25, 2026
Merged

Adopt modern pyproject packaging and uv workflows#8
achabotl merged 5 commits into
mainfrom
pyproject

Conversation

@achabotl

Copy link
Copy Markdown
Owner

Summary

  • Replace setup.py with a modern pyproject.toml configuration
  • Document running and building popthings with uv
  • Add TaskPaper fixtures covering nested notes, tasks, headers, and empty lines

Testing

  • Not run (not requested)

Alexandre Chabot-Leclerc added 2 commits July 23, 2026 22:20
Define the console entry point in modern project metadata and document
zero-install uvx usage.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 623d9b13d9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pyproject.toml
@@ -0,0 +1,32 @@
[build-system]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update the release cache path after removing setup.py

On every release, both actions/setup-python@v2 steps in .github/workflows/publish.yml still use cache-dependency-path: '**/setup.py'. The pip-cache setup errors when that pattern matches no files, so replacing setup.py with this file causes the release workflow to stop before its tests or build run; point those entries at pyproject.toml as part of the migration.

Useful? React with 👍 / 👎.

Comment thread pyproject.toml
@@ -0,0 +1,32 @@
[build-system]
requires = ["setuptools>=77"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve source-install support for tested Python versions

For Python 3.6–3.8, which remain in both CI matrices, a source installation cannot create its isolated build environment because Setuptools 77 and newer require Python 3.9+. Published wheels may hide this, but pip install --no-binary, installs from an sdist, and source checkouts on those tested interpreters fail before building; either use a compatible backend requirement or explicitly raise the project's supported Python version and update the matrices.

Useful? React with 👍 / 👎.

Alexandre Chabot-Leclerc added 3 commits July 24, 2026 21:49
Use setup-python v6 throughout CI and hash pyproject.toml for the
release pip cache. Previously the release workflow referenced
the removed setup.py file and could fail before tests or publishing.
Declare the supported interpreter floor and align release testing and
publishing with Python 3.12-3.14. Previously the package metadata
implicitly allowed versions that cannot install the build backend.
@achabotl
achabotl merged commit 0022f62 into main Jul 25, 2026
3 checks passed
@achabotl
achabotl deleted the pyproject branch July 25, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant