Skip to content

Modernize full#107

Merged
khoroshevskyi merged 12 commits intodevfrom
modernize_1
Feb 26, 2026
Merged

Modernize full#107
khoroshevskyi merged 12 commits intodevfrom
modernize_1

Conversation

@khoroshevskyi
Copy link
Member

@khoroshevskyi khoroshevskyi commented Feb 16, 2026

Changes:

  • ...

TODO:

  • Version of pepdbagent updated in __version__.py file
  • Changelog updated

@khoroshevskyi khoroshevskyi changed the base branch from master to dev February 16, 2026 20:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the project’s packaging and CI by migrating from setup.py/requirements files to a PEP 621-style pyproject.toml (Hatchling build), and updates CI workflows to install the package via extras.

Changes:

  • Replace legacy packaging (setup.py, MANIFEST.in, requirements/*) with pyproject.toml using Hatchling and optional dependency groups.
  • Update GitHub Actions workflows to install .[test] via uv and adjust build/publish to use python -m build.
  • Minor internal tweak in BedSetPlots field checking (BedSetPlots.model_fields).

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
setup.py Removed legacy setuptools setup in favor of pyproject.toml.
requirements/requirements-*.txt Removed requirements files; dependencies moved into pyproject.toml.
pyproject.toml Added PEP 621 project metadata, dependencies, optional dependency groups, and tool configs.
bbconf/modules/bedsets.py Use class-level BedSetPlots.model_fields for field membership check.
bbconf/_version.py Removed legacy version module.
bbconf/init.py Stops importing/exporting __version__.
MANIFEST.in Removed legacy manifest file.
.pre-commit-config.yaml Removed pre-commit configuration.
.github/workflows/run-pytest.yml Installs .[test] via uv and updates action versions.
.github/workflows/cli-coverage.yml Installs .[test] via uv and updates action versions.
.github/workflows/python-publish.yml Builds with python -m build and publishes with trusted publishing.
.github/workflows/black.yml Replaces Black action with Ruff lint/format checks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@khoroshevskyi khoroshevskyi changed the title Modernize 1 Modernize full Feb 26, 2026
@khoroshevskyi khoroshevskyi deleted the branch dev February 26, 2026 18:41
@khoroshevskyi khoroshevskyi reopened this Feb 26, 2026
@khoroshevskyi khoroshevskyi merged commit db1a226 into dev Feb 26, 2026
4 checks passed
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