Skip to content

Merge PyPI packaging automation - #2261

Open
mattwthompson wants to merge 9 commits into
mainfrom
merge-pypi-automation
Open

mattwthompson wants to merge 9 commits into
mainfrom
merge-pypi-automation

Conversation

@mattwthompson

@mattwthompson mattwthompson commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Closes #2154
Closes #2050
Probably also others I can't find

See our AI Policy. Please indicate whether LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution:

  • No
  • Yes: [If yes, please provide details here]

mattwthompson and others added 6 commits November 20, 2026 13:45
* Add publishing workflow

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Lint

* Include dependencies, even when from TestPyPI

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add more Pytest plugins

* Lint

* Avoid some weird test builds

* Trim build-time tests to conda-forge scale

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixes

Lint

* Debug

* Install from wheel, not source

* Try to fix docs builds

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@codecov

codecov Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.08%. Comparing base (33a7e7d) to head (6d43e4d).

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread .github/workflows/CI.yml
# against a conda build of Interchange. (It may also be pulled down
# by `openmmforcefields` and should be removed in that case a well.)
micromamba remove --force openff-toolkit openff-toolkit-base
python -m pip install .

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Notes for reviewer:

  • this is necessary to preserve existing behavior
  • previously there weren't any dependencies declared in pyproject.toml, so nothing happened
  • now, without --no-deps, pip will install those Python dependencies declared in pyproject.toml
  • the difference is almost entirely inconsequential, but it brings down the PyPI build of openff-forcefields which includes file(s) that may or may not hash differently because they're on different
    • this is generally good practice, since this file isn't meant to test PyPI deployment, independent of this quirk

@mattwthompson
mattwthompson marked this pull request as ready for review December 2, 2026 20:48
@mattwthompson
mattwthompson requested a review from j-wags as a code owner December 2, 2026 20:48

This branch has not been deployed

No deployments
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.

Support installing with pip "No module named constraint"

2 participants