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 shebang from graph.py #1242

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Remove shebang from graph.py #1242

merged 1 commit into from
Dec 6, 2023

Conversation

mtelka
Copy link
Contributor

@mtelka mtelka commented Dec 6, 2023

The shebang is useless in the graph.py file:

$ chmod +x dulwich/graph.py
$ PYTHONPATH=. dulwich/graph.py
Traceback (most recent call last):
  File "/tmp/dulwich/dulwich/graph.py", line 25, in <module>
    from .lru_cache import LRUCache
ImportError: attempted relative import with no known parent package
$

So let's remove it.

See also #1230.

@mtelka mtelka requested a review from jelmer as a code owner December 6, 2023 09:20
@mtelka
Copy link
Contributor Author

mtelka commented Dec 6, 2023

The issue was introduced via #1198.

@jelmer jelmer merged commit 0fe80ad into jelmer:master Dec 6, 2023
16 checks passed
@mtelka mtelka deleted the shebang-graph branch December 6, 2023 10:11
renovate bot added a commit to Hapag-Lloyd/test that referenced this pull request Apr 23, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [dulwich](https://togithub.com/dulwich/dulwich) | `==0.21.7` ->
`==0.22.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/dulwich/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/dulwich/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/dulwich/0.21.7/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/dulwich/0.21.7/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dulwich/dulwich (dulwich)</summary>

###
[`v0.22.0`](https://togithub.com/jelmer/dulwich/releases/tag/dulwich-0.22.0):
0.22.0

[Compare
Source](https://togithub.com/dulwich/dulwich/compare/dulwich-0.21.7...dulwich-0.22.0)

#### What's Changed

- Start on 0.21.8 by [@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1240
- Install twine when uploading to pypi by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1241
- Remove shebang from graph.py by
[@&#8203;mtelka](https://togithub.com/mtelka) in
[jelmer/dulwich#1242
- Disable pypi uploads in disperse; this is now down by the GitHub
actions workflow by [@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1243
- tweak doc-strings in LocalGitClient for clarity by
[@&#8203;stspdotname](https://togithub.com/stspdotname) in
[jelmer/dulwich#1245
- Keep GitHub Actions up to date with GitHub's Dependabot by
[@&#8203;cclauss](https://togithub.com/cclauss) in
[jelmer/dulwich#1249
- Bump the github_actions group with 5 updates by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[jelmer/dulwich#1250
- Add Python 3.12 to the testing by
[@&#8203;cclauss](https://togithub.com/cclauss) in
[jelmer/dulwich#1251
- pyproject.toml: Add trove classifier for Python 3.12 by
[@&#8203;cclauss](https://togithub.com/cclauss) in
[jelmer/dulwich#1252
- Convert \_objects.c to \_objects.rs by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1204
- Convert pack C helper to rust by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1255
- Convert diff-tree C helper to rust by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1256
- Revert "Bump the github_actions group with 5 updates" by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1257
- Only expect a shallow update when requesting a depth by
[@&#8203;abderrahim](https://togithub.com/abderrahim) in
[jelmer/dulwich#1259
- Use f-strings by [@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1263
- Wrap all urllib3 read ProtocolErrors as GitProtocolError by
[@&#8203;nanonyme](https://togithub.com/nanonyme) in
[jelmer/dulwich#1261
- Update cargo dependencies with dependabot by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1264
- wheels: Don't build with nightly by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1273
- Reformat with ruff by [@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1272
- Use latest cibuildwheel by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1276
- cibuildwheel: define options in pyproject.toml by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1275
- Move tests to root. Fixes
[#&#8203;1024](https://togithub.com/dulwich/dulwich/issues/1024) by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1277
- Stop installing docs/ as part of package code by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1278
- Bump pyo3 from 0.21.1 to 0.21.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[jelmer/dulwich#1280
- Set correct version for rust modules by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1281
- Fix installation of tests package by
[@&#8203;jelmer](https://togithub.com/jelmer) in
[jelmer/dulwich#1282

#### New Contributors

- [@&#8203;dependabot](https://togithub.com/dependabot) made their first
contribution in
[jelmer/dulwich#1250
- [@&#8203;abderrahim](https://togithub.com/abderrahim) made their first
contribution in
[jelmer/dulwich#1259

**Full Changelog**:
jelmer/dulwich@dulwich-0.21.7...dulwich-0.22.0

</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://developer.mend.io/github/Hapag-Lloyd/test).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5Il19-->

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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants