Skip to content

Migrate dependency management to pyproject.toml#115

Open
mslaffin wants to merge 2 commits intodevelopfrom
feature/enforce-python-version
Open

Migrate dependency management to pyproject.toml#115
mslaffin wants to merge 2 commits intodevelopfrom
feature/enforce-python-version

Conversation

@mslaffin
Copy link
Copy Markdown
Collaborator

@mslaffin mslaffin commented May 1, 2026

Enforces Python 3.11 using pyproject.toml and its requires-python field.
Closes #114

Changes:

  • Add pyproject.toml to declare project dependencies. Sets py-modules = [] since the main project is a runnable app, not an importable library.
  • remove requirements.txt, since all deps and their pins are in the .toml
  • update README

On Python 3.11 (installs all deps as before):

(venv) PS C:\Users\Michael\temp\EBEAM_dashboard> pip install -e .
Obtaining file:///C:/Users/Michael/temp/EBEAM_dashboard
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done

When attempting to build on any other Python version:

(venv) PS C:\Users\Michael\temp\EBEAM_dashboard> pip install -e .
Obtaining file:///C:/Users/Michael/temp/EBEAM_dashboard
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done

ERROR: Package 'ebeam-dashboard' requires a different Python: 3.13.13 not in '<3.12,>=3.11'

@mslaffin mslaffin requested a review from bwalkerMIR May 1, 2026 22:58
Copy link
Copy Markdown

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

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: cbc662f117

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread requirements.txt
@bwalkerMIR
Copy link
Copy Markdown
Collaborator

Thanks @mslaffin this is great!! We should catch up again some time there is a lot happening! We're getting close to melting metal soon.

@bwalkerMIR
Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

ℹ️ 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".

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