-
Notifications
You must be signed in to change notification settings - Fork 1
vz remove datasheet_raster from model #3
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
Open
vickimzhang
wants to merge
6
commits into
main
Choose a base branch
from
vz-remove-datasheetraster
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
84d93e2
create minimalist conda env and update package version
vickimzhang 1effd48
add gdal and rasterio and versions
vickimzhang 7ff101b
remove datasheet_raster from model
vickimzhang 503db6a
increment minor version
vickimzhang 7c0e1fa
merge minimal conda
vickimzhang d81815d
increment by one minor version after removing datasheet raster
vickimzhang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "name": "Run model.py", | ||
| "type": "debugpy", | ||
| "request": "launch", | ||
| "program": "${workspaceFolder}/src/model.py", | ||
| "console": "integratedTerminal", | ||
| "python": "${command:python.interpreterPath}" | ||
| }, | ||
| { | ||
| "name": "Run model2.py", | ||
| "type": "debugpy", | ||
| "request": "launch", | ||
| "program": "${workspaceFolder}/src/model2.py", | ||
| "console": "integratedTerminal", | ||
| "python": "${command:python.interpreterPath}" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: ApexRMS/helloworldSpatialPy
Length of output: 371
🏁 Script executed:
Repository: ApexRMS/helloworldSpatialPy
Length of output: 5616
🏁 Script executed:
Repository: ApexRMS/helloworldSpatialPy
Length of output: 190
🏁 Script executed:
Repository: ApexRMS/helloworldSpatialPy
Length of output: 53
🌐 Web query:
pysyncrosim 2.1.3 Python version requirements💡 Result:
PySyncroSim 2.1.3 does not declare a strict
Requires-Pythonconstraint on PyPI (the metadata field isnull), but it is published as a Python 3 wheel (py3-none-any). [1]The project’s own install docs state it was tested and developed with Python 3.12 (along with SyncroSim 3.0.9), and their example conda environment uses
python=3.12. [2]Practical takeaway: use Python 3.12 (recommended/known-good); at minimum you need Python 3. [1] [2]
Sources
[1] PyPI JSON metadata for
pysyncrosim==2.1.3(requires_python, wheel tag) (pypi.org)[2] PySyncroSim 2.1.3 installation documentation (tested/developed with Python 3.12) (pysyncrosim.readthedocs.io)
Citations:
🌐 Web query:
SyncroSim conda environment Python version documentation💡 Result:
SyncroSim’s documentation covers Python versioning for package-specific conda environments here:
“Adding conda environments” (SyncroSim dev docs): shows creating an environment with an explicit Python version, e.g.
conda create -n new_env python=3.10, and also installing Python into the env withconda install python=3.10. It then explains exporting the env to a.ymland referencing it frompackage.xmlviacondaEnv/condaEnvVersion. [1]“Using Conda” (SyncroSim how-to guide): explains that SyncroSim conda environments can include “correct versions of software such as R and Python,” and that SyncroSim can prompt users to create the package’s conda environment at install time. [2]
Sources: [1], [2]
🏁 Script executed:
Repository: ApexRMS/helloworldSpatialPy
Length of output: 3476
🏁 Script executed:
Repository: ApexRMS/helloworldSpatialPy
Length of output: 168
Pin
pythonexplicitly in this conda environment file.This file defines the exact runtime environment for both transformers in
package.xml. Without an explicit Python version pin, the conda solver can select any Python 3.x release when installing or updating the environment, risking different behaviour than documented. The official pysyncrosim documentation explicitly states the package was tested and developed with Python 3.12, and their own example conda environments include an explicitpython=3.12pin. SyncroSim's conda documentation emphasizes that environment YAML files should specify exact versions of software dependencies, including Python.Add
python=3.12(or the version you have validated) to ensure future installs use the same interpreter version this package was tested against:Suggested change
dependencies: + - python=3.12 - pysyncrosim=2.1.3 - numpy=2.3.5 - pandas=2.3.3 - gdal=3.10.3 - rasterio=1.4.3📝 Committable suggestion
🤖 Prompt for AI Agents