-
Notifications
You must be signed in to change notification settings - Fork 10
chore: Replace appdirspackage with platformdirs
#1373
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ annotated-types==0.7.0 | |
| # via pydantic | ||
| app-model==0.4.0 | ||
| # via napari | ||
| appdirs==1.4.4 | ||
| platformdirs==4.3.6 | ||
| # via | ||
| # partseg (pyproject.toml) | ||
| # napari | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check for duplicate platformdirs entries in all constraint files
fd 'constraints.*\.txt$' requirements/ --exec sh -c '
echo "=== {} ==="
grep -n "^platformdirs==" "{}" || echo "No platformdirs found"
echo
'Repository: 4DNucleome/PartSeg Length of output: 1131 Critical: Duplicate All constraint files in
All constraint files must be regenerated to resolve to a single version of 🤖 Prompt for AI Agents |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ annotated-doc==0.0.4 | |
| # via typer | ||
| app-model==0.3.2 | ||
| # via napari | ||
| appdirs==1.4.4 | ||
| platformdirs==4.3.6 | ||
| # via | ||
| # partseg (pyproject.toml) | ||
| # napari | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Duplicate Same duplicate entry pattern as other constraints files:
Also applies to: 244-249 🤖 Prompt for AI Agents |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (bug_risk): The comma on a separate line likely makes this TOML array invalid.
In TOML, commas must appear on the same line as the preceding value. Putting the comma on its own line makes the array invalid and can break
pyproject.tomlparsing. Please keep the comma at the end of the value line instead.