Skip to content

chore: prepare stable 1.0 release - #57

Closed
mgaitan wants to merge 1 commit into
masterfrom
chore/prepare-1.0
Closed

mgaitan wants to merge 1 commit into
masterfrom
chore/prepare-1.0

Conversation

@mgaitan

@mgaitan mgaitan commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • modernize CI, publishing, local QA, and project metadata following the package template
  • support and test Python 3.15, including free-threaded f2py configuration
  • update the notebook for stable installation, current nbviewer URLs, Meson linking, and explicit compiler selection

Closes #17
Closes #50
Closes #52
Closes #55

Verification

  • prek run --all-files
  • JUPYTER_PLATFORM_DIRS=1 uv run --group dev pytest
  • uv build

#41 remains open: persistent compiled-module reuse needs separate ABI and dependency validation.

Co-authored-by: Serguei E. Leontiev <leo@sai.msu.ru>
@mgaitan

mgaitan commented Jul 30, 2026

Copy link
Copy Markdown
Owner Author

Split into focused PRs for packaging, CI, and documentation.

@mgaitan mgaitan closed this Jul 30, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 17442f7586

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Makefile

install:
uv sync
prek install

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Install prek before invoking it

In a clean development checkout where only uv is available, uv sync cannot provide this executable because prek is absent from every dependency group in pyproject.toml; the next command therefore fails with prek: command not found, so make install cannot bootstrap the newly added QA workflow. Declare prek as a development dependency and invoke it through uv run, or install/run it explicitly with uvx.

Useful? React with 👍 / 👎.

Comment thread documentation.ipynb
" elif fc == \"nvfortran\":\n",
" nv_path = shutil.which(fc)\n",
" nv_libdir = os.path.dirname(os.path.dirname(nv_path)) + \"/lib\"\n",
" if nv_libdir not in os.environ[\"LD_LIBRARY_PATH\"]:\n",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Guard access to LD_LIBRARY_PATH

When this notebook is run on a system where nvfortran is available but LD_LIBRARY_PATH is unset—a valid and common shell configuration—indexing os.environ raises KeyError before the explicit-compiler example can compile. Use os.environ.get("LD_LIBRARY_PATH", "") (and preferably split it as a path list) for this optional environment variable.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant