Skip to content

Migrate to pyproject.toml (PEP 517/518)#131

Draft
Copilot wants to merge 4 commits into
mainfrom
copilot/migrate-to-pyproject-toml
Draft

Migrate to pyproject.toml (PEP 517/518)#131
Copilot wants to merge 4 commits into
mainfrom
copilot/migrate-to-pyproject-toml

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 1, 2026

Migrates project from legacy setup.py + separate requirements files to modern pyproject.toml configuration.

Changes

  • Added pyproject.toml

    • Build system: setuptools backend
    • Dependencies consolidated from requirements.txt
    • Dev dependencies as optional extras: pip install .[dev]
    • Entry points for certbot plugin
    • Automatic package discovery
  • Removed legacy files

    • setup.py
    • requirements.txt
    • requirements-dev.txt
  • Updated CI workflows

    • Changed pip install -r requirements-dev.txtpip install .[dev] in:
      • unit-tests.yml
      • linting.yml
      • formatting_check.yml
  • Updated build configs

    • snap/snapcraft.yaml: Removed python-requirements (plugin auto-detects pyproject.toml)
    • Makefile: Package pyproject.toml instead of setup.py

Usage

# Install package
pip install .

# Install with dev dependencies
pip install .[dev]

# Build distributions
python -m build

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • publicsuffix.org
    • Triggering command: /usr/bin/python python -m unittest tests/__init__.py tests/cert_client.py (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits February 1, 2026 21:42
Co-authored-by: infinityofspace <30715462+infinityofspace@users.noreply.github.com>
…config to use pyproject.toml

Co-authored-by: infinityofspace <30715462+infinityofspace@users.noreply.github.com>
Co-authored-by: infinityofspace <30715462+infinityofspace@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate project to use pyproject.toml file Migrate to pyproject.toml (PEP 517/518) Feb 1, 2026
Copilot AI requested a review from infinityofspace February 1, 2026 21:47
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.

2 participants