Skip to content

Sync dependency sources with setup.py and bootstrap pytest in Copilot sessions#144

Merged
semio merged 1 commit intomasterfrom
copilot/fix-setup-py-and-requirements-sync
Apr 22, 2026
Merged

Sync dependency sources with setup.py and bootstrap pytest in Copilot sessions#144
semio merged 1 commit intomasterfrom
copilot/fix-setup-py-and-requirements-sync

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 22, 2026

setup.py dependency updates had drifted from requirements.in, creating inconsistent install surfaces. Copilot sessions also lacked deterministic test bootstrap, so pytest was unavailable unless installed manually.

  • Dependency source alignment (requirements.in)

    • Updated package constraints in requirements.in to match setup.py (runtime stack + test tooling), including pinned compatible ranges for requests[security], pandas, dask[dataframe], lxml, pytest, and pytest-cov.
    • Preserves docs/dev entries already managed in requirements.in while removing version drift between install declarations.
  • Lockfile refresh (requirements.txt)

    • Recompiled requirements.txt from the updated requirements.in so resolved versions reflect the synchronized constraints.
  • Copilot environment bootstrap (.github/workflows/copilot-setup-steps.yml)

    • Added a copilot-setup-steps workflow to preinstall project dependencies in agent sessions:
      • python -m pip install -r requirements.txt
      • python -m pip install -e .
    • Ensures python -m pytest is available in Copilot tasks without ad-hoc dependency installs.
jobs:
  copilot-setup-steps:
    steps:
      - uses: actions/checkout@v5
      - uses: actions/setup-python@v5
        with:
          python-version: "3.12"
      - run: |
          python -m pip install -r requirements.txt
          python -m pip install -e .

@semio semio marked this pull request as ready for review April 22, 2026 01:54
@semio semio merged commit b98cd94 into master Apr 22, 2026
2 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