Skip to content

Fix package name and URLs in pyproject.toml#3

Merged
rfrenchseti merged 2 commits intomainfrom
rf_260415_pyproject
Apr 26, 2026
Merged

Fix package name and URLs in pyproject.toml#3
rfrenchseti merged 2 commits intomainfrom
rf_260415_pyproject

Conversation

@rfrenchseti
Copy link
Copy Markdown
Collaborator

@rfrenchseti rfrenchseti commented Apr 26, 2026

Purpose

The package name and project URLs in pyproject.toml still referenced the old repository name (psfmodel) rather than the current one (rms-psfmodel). This caused the published PyPI package name and all documentation/source links to point to the wrong location.

Closes #

Changes/Implementation Details

  • Renamed [project] name from psfmodel to rms-psfmodel to match the repository name and PyPI package name convention used across the SETI rms-* package family.
  • Updated all five [project.urls] entries (Homepage, Documentation, Repository, Source, Issues) from github.com/SETI/psfmodel / psfmodel.readthedocs.io to their rms-psfmodel equivalents.

Type of Change

  • Bug fix (non-breaking)
  • New feature (non-breaking)
  • Breaking change (fix or feature that alters existing behavior or public API)
  • Refactor (no functional or API changes)
  • Documentation
  • Tests only (no production code change)
  • CI / Build / Dependencies

Testing

  • Unit tests pass
  • Integration tests pass (if applicable)
  • End-to-end tests pass (if applicable)
  • New or updated tests for changed code
  • Tested manually (describe below if applicable)

Verified that pyproject.toml parses correctly and the corrected URLs resolve to the right locations.

Potential Impacts

Anyone who installed the package as pip install psfmodel will need to switch to pip install rms-psfmodel. No Python source code or public API was changed.

Checklist

  • Code follows project style (ruff check, ruff format)
  • Type annotations present and mypy passes
  • No secrets or credentials committed
  • No warnings or errors introduced (CI, linters, type checking, builds) or justified in Notes
  • Docstrings and Sphinx docs updated (if applicable)
  • CHANGES.md updated (if user-facing change)
  • No temporary or debug code left in
  • Performance impact assessed (see Potential Impacts above)
  • Breaking changes flagged in Type of Change above

Notes

This is a metadata-only fix; no logic was changed. The previous name psfmodel was almost certainly a leftover from before the repository was renamed to rms-psfmodel.

Made with Cursor

Summary by CodeRabbit

  • Chores
    • Updated package distribution name to rms-psfmodel
    • Updated all project URLs (documentation, repository, and issue tracker) to new locations

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 26, 2026

Warning

Rate limit exceeded

@rfrenchseti has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 57 minutes and 21 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 57 minutes and 21 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: f7a37de6-4343-471b-9a3c-ecfbf84db2fc

📥 Commits

Reviewing files that changed from the base of the PR and between d0ebb3c and aba5366.

📒 Files selected for processing (1)
  • pyproject.toml

Walkthrough

Updated the package's declared distribution name from psfmodel to rms-psfmodel in pyproject.toml, and rewired all project URL entries to reference the new package name and organization locations.

Changes

Cohort / File(s) Summary
Package Configuration
pyproject.toml
Updated [project].name from psfmodel to rms-psfmodel and rewired all [project.urls] entries (Homepage, Documentation, Repository, Source, Issues) to use the new GitHub and ReadTheDocs locations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: fixing the package name and URLs in pyproject.toml, which aligns with the changeset.
Description check ✅ Passed The description covers all required sections with clear details about the purpose, changes, type of change, testing, and impacts. Most checklist items are addressed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.10%. Comparing base (c34e156) to head (aba5366).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage   93.10%   93.10%           
=======================================
  Files           3        3           
  Lines         551      551           
  Branches      110      110           
=======================================
  Hits          513      513           
  Misses         19       19           
  Partials       19       19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
pyproject.toml (1)

73-87: ⚠️ Potential issue | 🔴 Critical

Update distribution name references in [project.optional-dependencies].dev from old name to new name.

Lines 75 and 86 still reference the old distribution name psfmodel. After the rename to rms-psfmodel, these self-references will fail to resolve correctly. When installing pip install rms-psfmodel[dev], pip will attempt to fetch a separate psfmodel package from PyPI, and the psfmodel[docs] extras pattern will not pull this project's docs dependencies.

🔧 Proposed fix
 dev = [
-  "psfmodel",
+  "rms-psfmodel",
   "coverage>=7.0",
   "mypy>=1.0",
   "pymarkdownlnt>=0.9.35",
   "pytest>=7.0",
   "pytest-cov>=4.0",
   "pytest-xdist>=3.8.0",
   "ruff>=0.8",
   "bandit[toml]>=1.8",
   "pyroma>=4.2",
   "vulture>=2.14",
-  "psfmodel[docs]",
+  "rms-psfmodel[docs]",
 ]
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pyproject.toml` around lines 73 - 87, Update the package self-references in
the [project.optional-dependencies].dev list: replace the old distribution name
"psfmodel" and the extras form "psfmodel[docs]" with the new distribution name
"rms-psfmodel" and "rms-psfmodel[docs]" respectively so the dev extras point to
this package itself (check the entries in pyproject.toml under the dev array).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@pyproject.toml`:
- Around line 73-87: Update the package self-references in the
[project.optional-dependencies].dev list: replace the old distribution name
"psfmodel" and the extras form "psfmodel[docs]" with the new distribution name
"rms-psfmodel" and "rms-psfmodel[docs]" respectively so the dev extras point to
this package itself (check the entries in pyproject.toml under the dev array).

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 941fec6e-c5ff-4786-b854-68d68e3a3e24

📥 Commits

Reviewing files that changed from the base of the PR and between c34e156 and d0ebb3c.

📒 Files selected for processing (1)
  • pyproject.toml

@rfrenchseti rfrenchseti merged commit 42bd298 into main Apr 26, 2026
8 checks passed
@rfrenchseti rfrenchseti deleted the rf_260415_pyproject branch April 26, 2026 19:04
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.

1 participant