forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
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
CI/CD updates and cleanup #14
Merged
Merged
Conversation
This file contains 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 basic tests for GeoPackage and Shapefile export which use import to test the result (so they test round trip but focus on the export).
…4033) python(pydispatch): Apply code changes from upstream pydispatcher repo Manual combination of latest changes of repo https://github.com/mcfletch/pydispatcher
GEOS 3.12 switched the default setting of the trim option to true. To enable consistent behaviour to Vect_read_area_to_wkt() and Vect_line_to_wkt() across GEOS versions, they now call new 2nd generation functions, which set this trim option explicitly to false.
- update grass.py to use grass.app.runtime.get_grass_config_dir() - update wxpython's core.utils.GetSettingsPath() to use grass.app.runtime.get_grass_config_dir() - update g.extension - update G_config_path() [libgis] --------- Co-authored-by: Martin Landa <[email protected]> Co-authored-by: Nicklas Larsson <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anna Petrasova <[email protected]>
* CI(deps): Update ruff to v0.5.6 * Ignore 6 new issues of shadowing builtins --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Edouard Choinière <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Ruff rule: https://docs.astral.sh/ruff/rules/unnecessary-placeholder/ Even a docstring is enough to not need a placeholder, as it is a statement.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… OpenMP (#3929) * determine the number of threads for OpenMP in opt parser * add OpenMP library paths * solve segfault when nprocs option is not specified in the command * only change nprocs for C module * update the description of the function, which does not return any value * add helper function, left parser unchanged * return threads rather than change the answer of nprocs * modify code based on review comments * remove threads > logic cores check, update based on review comments
) * Add Parallelization to TimeSeriesMap * Specify nprocs * Correct NPROCS * Modify SeriesMap * Modify BaseSeriesMap * remove unused attribute --------- Co-authored-by: Anna Petrasova <[email protected]>
* r.report: add json support * address PR feedback * fix segfault * address PR feedback * update tests to use CI dataset * change created field to iso8601 datetime format * fix created field test * fix map description field * Apply suggestions from code review Co-authored-by: Edouard Choinière <[email protected]> * update documentation * Update raster/r.report/format.c Co-authored-by: Nicklas Larsson <[email protected]> --------- Co-authored-by: Edouard Choinière <[email protected]> Co-authored-by: Nicklas Larsson <[email protected]>
use helper function to control the number of threads for OpenMP
t.rast.accumulate: Remove check of non-existing ˋrangeˋ option Seems like a copy-paste artifact from another module like t.rast.accdetect Co-authored-by: Edouard Choinière <[email protected]>
Co-authored-by: Anna Petrasova <[email protected]>
* style: Fix self-assigning-variable (PLW0127) * PLW0127: python/grass/temporal/core.py: The last change on this line was removing decode(mapset) for python 3. * temporal/t.rast.accumulate/t.rast.accumulate.py:283:13: PLW0127 Self-assignment of variable `upper` Following the patterns from the same file, it seems that it is the map id that is wanted * temporal/t.rast.accdetect/t.rast.accdetect.py:241:13: PLW0127 Self-assignment of variable `indicator` Usage seemed to mean to set the map id instead. * gui/wxpython/psmap/instructions.py: PLW0127 Self-assignment of variables in EstimateWidth, EstimateHeight, and EstimateSize * gui/wxpython/psmap/frame.py:2234:17: PLW0127 Self-assignment of variable `zoomFactor` * Change `not` usage to `<=` * gui/wxpython/animation/temporal_manager.py:292:21: PLW0127 Self-assignment of variable `end` Removed assignment * Apply ruff suggestion for collapsible-else-if (PLR5501)
* g.region: add JSON support * add test and documentation * add gmt, wms to output * fix CI build issues * separate projection code and name fields
* CI(deps): Update ruff to v0.5.7 * Fix new RUF031 rule violations (incorrectly-parenthesized-tuple-in-subscript) * Fix new ruff errors for C409: Unnecessary list comprehension passed to `tuple()` (rewrite as a generator) --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Edouard Choinière <[email protected]>
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
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.
v.out.ogr: Add basic unit tests (https://github.com/OSGeo/grass/pull/3848[)](https://github.com/a0x8o/grass/commit/13091fbc2591534621d7088544c4ec11934c0085)
grass.pydispatch: Apply code changes from upstream pydispatcher repo (OSGeo#4033
OSGeo#4033)
r3.in.v5d: Remove unused variables (https://github.com/OSGeo/grass/pull/4114[)](https://github.com/a0x8o/grass/commit/17474a9194498560606df0552f473bf586311fce)
i.ortho.photo: Fix uninitialized variable and potential buffer overflow (https://github.com/OSGeo/grass/pull/4093)
r.out.mpeg: Fix buffer overflow issues by replacing sprintf with snprintf (https://github.com/OSGeo/grass/pull/4098)