-
Notifications
You must be signed in to change notification settings - Fork 10
chore: Repalce 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
base: develop
Are you sure you want to change the base?
Changes from all commits
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 | ||
|
Comment on lines
+13
to
16
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 |
|---|---|---|
|
|
@@ -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 | ||
|
Comment on lines
+13
to
16
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 issue as in
Consider regenerating the constraints files to ensure consistent pinning. Also applies to: 246-251 🤖 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 | ||
|
Comment on lines
+11
to
14
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 |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ annotated-types==0.7.0 | |
| # via pydantic | ||
| app-model==0.3.2 | ||
| # via napari | ||
| appdirs==1.4.4 | ||
| platformdirs==4.3.6 | ||
| # via | ||
| # partseg (pyproject.toml) | ||
| # napari | ||
|
Comment on lines
+13
to
16
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
# Description: Check for duplicate platformdirs entries in constraints files
echo "Checking for duplicate platformdirs entries:"
for f in requirements/constraints_*.txt; do
echo "=== $f ==="
grep -n "^platformdirs==" "$f" || echo "No platformdirs entry found"
doneRepository: 4DNucleome/PartSeg Length of output: 1165 Duplicate This constraints file contains two separate
Having conflicting versions for the same package in a single constraints file may cause unexpected installation behavior. Since this file is autogenerated by 🤖 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.