Conversation
Summary of ChangesHello @claudio525, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request primarily focuses on updating project metadata and build configurations, likely in preparation for publishing the Highlights
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the project configuration to prepare for publishing on PyPI. Key changes include standardizing the package name, updating the author, setting an upper bound for the Python version, and replacing a direct git dependency on qcore with the qcore-utils package from PyPI, which is a great improvement. However, there is a critical issue in setup.py where a build flag for the Rust extension is set incorrectly, which will likely break the package build. I've also included a suggestion to enhance the package metadata in pyproject.toml to improve its discoverability on PyPI.
There was a problem hiding this comment.
Pull request overview
This PR prepares the source-modelling library for publication to PyPI by making necessary configuration changes and adding a GitHub Actions workflow for automated publishing.
Key changes:
- Package name standardized to PyPI conventions (hyphen instead of underscore)
- Git-based dependency replaced with PyPI package (
qcore-utils) - Automated PyPI publishing workflow with trusted publishing (OIDC)
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| setup.py | Changed native=False for Rust extension to build universal wheels |
| pyproject.toml | Updated package name to source-modelling, author to ucgmsim, added Python version upper bound, and replaced git dependency with PyPI package |
| .github/workflows/publish-PyPI.yml | New workflow for automated PyPI publishing on releases using trusted publishing |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
As discussed with @lispandfound, will ignore the type checking errors for this PR. Jake will fix these in the future. |
5d33a8f
No description provided.