Skip to content

GEOPY-3101: Update toml to latest format - #21

Merged
RomFloreani merged 10 commits into
developfrom
GEOPY-3101
Oct 28, 2026
Merged

RomFloreani merged 10 commits into
developfrom
GEOPY-3101

Conversation

@RomFloreani

@RomFloreani RomFloreani commented Oct 22, 2026 •

Copy link
Copy Markdown

GEOPY-3101 - Update toml to latest format

Files with meaningful changes

Dependencies / environment

  • pyproject.toml: first iteration of the [project] / Poetry 2 configuration
  • py-3.12.conda-lock.yml: re-locked
  • environments/py-3.12-linux-64.conda.lock.yml
  • environments/py-3.12-linux-64-dev.conda.lock.yml
  • environments/py-3.12-win-64.conda.lock.yml
  • environments/py-3.12-win-64-dev.conda.lock.yml

CI (pinned to CI-tools v3.13.6)

  • .github/workflows/pr_jira_actions.yml: JIRA required checks
  • .github/workflows/security_scan.yml: Zizmor required check
  • .github/workflows/wip-status.yml
  • .github/workflows/dependabot-auto-merge.yml
  • .github/dependabot.yml: targets main

Config

  • .codespellignore: added astroid (package name in the lock files, flagged as a typo)

Formatting only (pre-commit auto-fixes, no logic changes)

  • Notebooks: assets/training/*.ipynb and content/fundamentals/{1-collections,5-geoh5_api,7-mag_dipole_app}.ipynb (cell key ordering, trailing newlines)
  • Python: content/conf.py, devtools/{add_url_tag_sha256,check-copyright,run_conda_lock,update_tutorials}.py, tests/notebook_test.py (import sorting, blank lines, ruff format)
  • Batch: setup_no_conda.bat, start_training.bat (trailing whitespace)

Comment thread pyproject.toml Resolved
@github-actions github-actions Bot changed the title Geopy 3101 GEOPY-3101: Update toml to latest format Oct 27, 2026
@RomFloreani
RomFloreani marked this pull request as ready for review October 27, 2026 13:24
Copilot AI balanced review requested due to automatic review settings October 27, 2026 13:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Static analysis requires a missing Poetry lockfile, and the WIP and Jira workflows lack the permissions or secrets needed for fork PRs.

3 open issues
What changed in this PR

Modernizes the training project's Poetry configuration and Conda environments, and adds shared GitHub automation for code checks and dependency maintenance.

Changes:

  • Switches Poetry to non-package mode, reorganizes development dependencies, and expands Ruff configuration.
  • Refreshes Linux and Windows Conda locks, adding Notebook and separating development tools.
  • Adds static analysis, security scanning, PR metadata workflows, and Dependabot automation.
File Description
pyproject.toml Modernizes metadata, dependency groups, and lint settings.
environments/​py-3.12-win-64.conda.lock.yml Refreshes Windows runtime dependencies.
environments/​py-3.12-win-64-dev.conda.lock.yml Refreshes Windows development dependencies.
environments/​py-3.12-linux-64.conda.lock.yml Refreshes Linux runtime dependencies.
environments/​py-3.12-linux-64-dev.conda.lock.yml Refreshes Linux development dependencies.
.github/​workflows/​wip-status.yml Adds PR title-based WIP status reporting.
.github/​workflows/​static_analysis.yml Adds shared pre-commit checks.
.github/​workflows/​security_scan.yml Adds shared workflow security scanning.
.github/​workflows/​pr_jira_actions.yml Adds Jira validation and PR updates.
.github/​workflows/​dependabot-auto-merge.yml Adds auto-merge for selected dependency groups.
.github/​dependabot.yml Schedules grouped Actions and pre-commit updates.

Review effort: Balanced

Comment thread .github/workflows/static_analysis.yml Resolved
Comment thread .github/workflows/pr_jira_actions.yml Resolved
Comment thread .github/workflows/wip-status.yml Resolved
Comment thread devtools/add_url_tag_sha256.py Resolved

@sebhmg sebhmg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to refresh a few scripts and mechanisms to align on how things are done in our other packages with a conda env. See for example geoapps-utils

Comment thread devtools/add_url_tag_sha256.py Resolved
Comment thread devtools/check-copyright.py Resolved
Comment thread .pre-commit-config.yaml Resolved
Comment thread py-3.12.conda-lock.yml Resolved
@RomFloreani
RomFloreani requested a review from sebhmg October 27, 2026 20:43
also, no need for the activated env in terminal in case of failure,
as confuses most users not to be in a activated conda env
faster at resolving dependencies
@sebhmg

sebhmg commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

I have tested installation and startup of the notebook

@RomFloreani
RomFloreani merged commit 6fd48ae into develop Oct 28, 2026
13 checks passed
@RomFloreani
RomFloreani deleted the GEOPY-3101 branch October 28, 2026 12:41
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.

3 participants