Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(pypi): update maturin version #539

Merged
merged 3 commits into from
Mar 7, 2024
Merged

chore(pypi): update maturin version #539

merged 3 commits into from
Mar 7, 2024

Conversation

radusuciu
Copy link
Contributor

Description

I've updated the maturin version, addressed a deprecation warning, and added a .gitignore file to the pypi folder to ignore files that are generated during build and local testing.

Motivation and Context

I discovered that the version of maturin specified in pyproject.toml was too narrowly constrained in the process of investigating #534.

How Has This Been Tested?

I ran the maturin build command that is normally run in GHA locally, and confirmed that it builds an installable wheel on my platform (Windows).

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (no code change)
  • Refactor (refactoring production code)
  • Other

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have formatted the code with rustfmt.
  • I checked the lints with clippy.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

use of `[package.metadata.maturin.name]` is deprecated and warned against: `Warning: specify [package.metadata.maturin] name in Cargo.toml is deprecated, use module-name in [tool.maturin] section in pyproject.toml instead`
the previously pinned version was way too specific and maturin has since had a 1.0 release -- so let's just stick with that.
@radusuciu radusuciu requested a review from orhun as a code owner March 6, 2024 23:25
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.14%. Comparing base (16bea51) to head (cd12b82).
Report is 1 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #539   +/-   ##
=======================================
  Coverage   41.14%   41.14%           
=======================================
  Files          15       15           
  Lines        1038     1038           
=======================================
  Hits          427      427           
  Misses        611      611           
Flag Coverage Δ
unit-tests 41.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Owner

@orhun orhun left a comment

Choose a reason for hiding this comment

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

Awesome! I think I can create a RC release soon to test this.

@orhun orhun changed the title chore(pypi): Update maturin version chore(pypi): update maturin version Mar 7, 2024
@orhun orhun merged commit 10b7ab8 into orhun:main Mar 7, 2024
44 checks passed
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