Skip to content

Conversation

Mr-Sunglasses
Copy link
Contributor

I see the there are build errors on the latest release to pypi in maturin action, the main cause of it is that it can't able to detect the README.md, there are two possible solutions

  • make a copy of README.md to typos-cli directory
  • move pyproject.toml in the root

I choose the second approach.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 17329072823

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 20.434%

Totals Coverage Status
Change from base Build 17326100162: 0.0%
Covered Lines: 574
Relevant Lines: 2809

💛 - Coveralls

Copy link
Collaborator

Choose a reason for hiding this comment

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

iirc having this in that directory was to work around a different maturin issue.

Does symlinking the README work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope symlinking the README is now working.

❯ maturin sdist --manifest-path crates/typos-cli/Cargo.toml --out dist | xclip -sel clip
⚠️  Warning: `project.version` field is required in pyproject.toml unless it is present in the `project.dynamic` list
💥 maturin failed
  Caused by: Failed to read readme specified in pyproject.toml, which should be at /home/kanishk/Projects/OSS/typos/crates/typos-cli/README.md
  Caused by: failed to open file `/home/kanishk/Projects/OSS/typos/crates/typos-cli/README.md`: Symbolic link loop (os error 40)

@epage
Copy link
Collaborator

epage commented Sep 2, 2025

FYI I did a super quick fix of removing the readme

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.

3 participants