Skip to content

Fix f-string quoting in update_config.py - #51

Open
astronomyk wants to merge 2 commits into
vortex-exoplanet:masterfrom
astronomyk:fix/fstring-quoting-update-config
Open

astronomyk wants to merge 2 commits into
vortex-exoplanet:masterfrom
astronomyk:fix/fstring-quoting-update-config

Conversation

@astronomyk

Copy link
Copy Markdown
Contributor

Summary

  • Swap single quotes for double quotes on two f-string lines in update_config.py that use single-quoted dict key access inside the expression
  • Fixes a SyntaxError on Python < 3.12

Test plan

  • Verify from heeps.config import update_config imports without error on Python 3.10/3.11

🤖 Generated with Claude Code

astronomyk and others added 2 commits April 2, 2026 12:40
Configure pyproject.toml with all dependencies, including PyPROPER3
sourced from the university wheel server. Add missing util/__init__.py,
LICENSE, .gitignore updates for build artifacts, and build docs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use double quotes for f-strings that contain single-quoted dict key
access, fixing a syntax error on Python < 3.12.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@GillesOrban

Copy link
Copy Markdown
Collaborator

This PR mixes two things:

  • fix of f-string quoting
  • documentation and adding on poetry packaging to distribute HEEPS as a wheel.

I have implemented the fix separately (here: 8b60650).

The second part requires more work on my side: setting up the wheel server that host PyPROPER, and thus make HEEPS pip installable. My impression is that the new folder docs containing 'building_wheels.md', although useful explanation (it will be useful to me when I try to make HEEPS pip installable), should not be merged to the HEEPS repo.

Unless, you advise otherwise in the coming days, I would close the PR.

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