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

Remove public Rust API #2709

Merged
merged 1 commit into from Feb 10, 2023
Merged

Remove public Rust API #2709

merged 1 commit into from Feb 10, 2023

Conversation

charliermarsh
Copy link
Member

GitHub's dependency tracker indicates that this is unused, and it's not really supported. I'd rather remove it before people start depending on it. We'll introduce a proper public API later.

Closes #2514.

@charliermarsh charliermarsh added the breaking Breaking API change label Feb 10, 2023
@charliermarsh charliermarsh merged commit ac6c3af into main Feb 10, 2023
@charliermarsh charliermarsh deleted the charlie/public-api branch February 10, 2023 04:16
bruxisma pushed a commit to ixm-one/pytest-cmake-presets that referenced this pull request Feb 11, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://togithub.com/charliermarsh/ruff) | `^0.0.244` ->
`^0.0.245` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.245/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.245/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.245/compatibility-slim/0.0.244)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.245/confidence-slim/0.0.244)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.245`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.245)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.244...v0.0.245)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Breaking Changes

- Remove public Rust API by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2709

##### Rules

- \[`flake8-pyi`]Add flake8-pyi with one rule by
[@&#8203;sbdchd](https://togithub.com/sbdchd) in
[astral-sh/ruff#2682
- \[`pylint`]: bad-string-format-type by
[@&#8203;colin99d](https://togithub.com/colin99d) in
[astral-sh/ruff#2572
- \[`pylint`]: yield-in-init by
[@&#8203;tomecki](https://togithub.com/tomecki) in
[astral-sh/ruff#2716
- \[`flake8-tidy-imports`] Implement autofix for relative imports
(TID252) by [@&#8203;sbrugman](https://togithub.com/sbrugman) in
[astral-sh/ruff#2739
- \[`flake8-bandit`]: try-except-continue by
[@&#8203;colin99d](https://togithub.com/colin99d) in
[astral-sh/ruff#2674
- \[`flake8-bandit`] Implement bandit's 'hardcoded-sql-expressions' S608
by [@&#8203;mattoberle](https://togithub.com/mattoberle) in
[astral-sh/ruff#2698
- \[`pycodestyle`] Implement compound-statements (E701, E702, E703,
E704) by [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2680

##### Settings

- feat(isort): Implement known-local-folder by
[@&#8203;spaceone](https://togithub.com/spaceone) in
[astral-sh/ruff#2657
- Suppress parse errors with explicit `# noqa: E999` directives by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2697

##### Bug Fixes

- Support callable decorators in classmethod_decorators et al by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2675
- Avoid flagging typed exceptions in tuples by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2728
- Mark flake8-simplify rules as unfixable in non-fixable cases by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2676
- Treat re-exported annotations as used-at-runtime by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2689
- Gate `Path.readlink()` behind Python 3.9+ guard by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2708
- Handle functions that never return in RET503
([#&#8203;2602](https://togithub.com/charliermarsh/ruff/issues/2602)) by
[@&#8203;ppentchev](https://togithub.com/ppentchev) in
[astral-sh/ruff#2701
- Handle more functions that never return in RET503 by
[@&#8203;ngnpope](https://togithub.com/ngnpope) in
[astral-sh/ruff#2719
- Expand S110 and S112 ranges to include entire exception handler by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2729
- Relax conditions in bad-string-format-type by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2731
- Mark `__all__` members as used at end-of-scope by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2733
- Only validate `__all__` bindings for global scope by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2738
- Only trigger compound statements after select keywords by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2737
- Use `function_type::classify` for `yield-in-init` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2742
- Allow named unicodes in bidirectional escape check by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2710
- Respect NO_COLOR flags in --show-source by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2750
- Flag private member accesses on calls et al by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#2753

#### New Contributors

- [@&#8203;ngnpope](https://togithub.com/ngnpope) made their first
contribution in
[astral-sh/ruff#2692
- [@&#8203;ppentchev](https://togithub.com/ppentchev) made their first
contribution in
[astral-sh/ruff#2701
- [@&#8203;tomecki](https://togithub.com/tomecki) made their first
contribution in
[astral-sh/ruff#2716

**Full Changelog**:
astral-sh/ruff@v0.0.244...v0.0.245

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMjQuMiIsInVwZGF0ZWRJblZlciI6IjM0LjEyNC4yIn0=-->

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking API change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove public API in lib_native.rs?
1 participant