8000 chore: record 0.7.1 publication and open 0.7.2.dev0 by rafatahmed · Pull Request #366 · rafatahmed/Flahax · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from its predecessor. Detailed notes retain sources, limitations and migration.

## [Unreleased]

No changes recorded since 0.7.1.
Development checkout: 0.7.2.dev0. No user-facing changes recorded since 0.7.1.

## [0.7.1] - 2026-11-28

Expand Down
6 changes: 5 additions & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cff-version: 1.2.0
message: "If you use FlahaX, cite the version used. Version 0.7.1 has declared release date 2026-11-28. The concept DOI covers all versions; use a version DOI only when that archive is verified. The version DOI 10.5281/zenodo.24356739 identifies 0.7.0 only. Credit the data sources listed under references."
message: "If you use FlahaX, cite the version used. The latest published version is 0.7.1 (2026-11-28), DOI 10.5281/zenodo.24615878. Development checkouts must also identify their exact source revision; that DOI identifies the published version. Credit the data sources listed under references. Credit the data sources listed under references."
title: "FlahaX: plant-nutrient chemistry engine for fertilizer formulation and delivery planning"
abstract: >-
FlahaX turns crop-feed targets, source-water analyses and available products
Expand Down Expand Up @@ -36,6 +36,9 @@ version: 0.7.1
date-released: '2026-11-28'
doi: 10.5281/zenodo.23605678
identifiers:
- type: doi
value: 10.5281/zenodo.24615878
description: Published version 0.7.1 (Zenodo)
- type: doi
value: 10.5281/zenodo.24356739
description: Historical published version 0.7.0 (Zenodo)
Expand Down Expand Up @@ -73,6 +76,7 @@ preferred-citation:
affiliation: Flaha Agri Tech
orcid: https://orcid.org/0009-0009-4692-4552
year: 2026
doi: 10.5281/zenodo.24615878
date-released: '2026-11-28'
version: 0.7.1
url: https://github.com/rafatahmed/Flahax
Expand Down
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,24 @@ Recalculate and review saved results; acceptance does not transfer to changed in
[current publication evidence](https://flahax.readthedocs.io/en/latest/evidence/release-evidence.html).
See the [0.7.0 notes](https://github.com/rafatahmed/Flahax/blob/main/docs/releases/0.7.0.md).

**This source checkout: 0.7.1 — 2026-11-28.** This is the artifact's declared release date; registry
uploads and version-specific archive records are verified separately in the
[release evidence](https://flahax.readthedocs.io/en/latest/evidence/release-evidence.html).
**Published release: 0.7.1 (2026-11-28).**
[PyPI wheel and source package](https://pypi.org/project/flahax/0.7.1/),
[version DOI](https://doi.org/10.5281/zenodo.24615878) and
[current publication evidence](https://flahax.readthedocs.io/en/latest/evidence/release-evidence.html).
See the [0.7.1 notes](https://github.com/rafatahmed/Flahax/blob/main/docs/releases/0.7.1.md) and the
[migration guide](https://flahax.readthedocs.io/en/latest/start/migration.html#from-070-to-071).
The 0.7.0 release DOI identifies the published 0.7.0 archive, not 0.7.1.

**This source checkout: 0.7.2.dev0**, unpublished development after 0.7.1.
The release DOI identifies the published archive, not this development checkout.

## Installation

Python 3.11 or newer. There are no third-party runtime dependencies.
From a reviewed source checkout, install with `python -m pip install .`.
Install the published 0.7.0 from PyPI. After 0.7.1 is available there, pin it with
`python -m pip install flahax==0.7.1`:
Install the published version from PyPI:

```bash
python -m pip install flahax==0.7.0
python -m pip install flahax==0.7.1
```

Verify availability before installation; do not substitute another version silently.
Expand Down Expand Up @@ -262,15 +264,16 @@ Live PHREEQC replay and distribution verification are described in

Al Khashan, R. A. (2026). *FlahaX* (Version 0.7.1, 2026-11-28)
[Computer software]. Cite the reviewed source revision as well as the version.
Use a 0.7.1 version DOI only after its archive is verified; published 0.7.0 is
[10.5281/zenodo.24356739](https://doi.org/10.5281/zenodo.24356739) and identifies that version only.
Published 0.7.1: [10.5281/zenodo.24615878](https://doi.org/10.5281/zenodo.24615878).
For development checkouts, include the development version and exact source revision.

```bibtex
@software{alkhashan2026flahax,
author = {Al Khashan, Rafat A.},
title = {FlahaX: plant-nutrient chemistry engine for fertilizer formulation and delivery planning},
year = {2026},
version = {0.7.1},
doi = {10.5281/zenodo.24615878},
url = {https://github.com/rafatahmed/Flahax},
license = {Apache-2.0}
}
Expand Down
20 changes: 13 additions & 7 deletions docs/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,19 @@ Dashboard settings, recorded here because they live outside the repository:
- [x] Align the version, runtime version, citation, manual and generated API reference with
0.7.1 as an unpublished candidate (no date, no version DOI).
- [x] Date the changelog and the manual's version line (2026-11-28) and add the comparison links.
- [ ] Merge the finalization after CI passes; the tag must point at the merged commit.
- [ ] After publication, record the receipts and add the version DOI.
- [ ] Explicit maintainer authorization for tag, release and package publication.
- [ ] Publish `v0.7.1`; review the protected publisher run and approve the `pypi` deployment.
- [ ] Verify actual PyPI and GitHub file hashes and fresh wheel and sdist installs.
- [ ] Confirm the Read the Docs `stable` version builds `v0.7.1`; confirm the Zenodo version DOI.
- [ ] Record the publication receipts and open the next development version.
- [x] Merge the finalization after CI passes (PR #365, `a95cfa9`); the tag points at that commit.
- [x] Explicit maintainer authorization for tag, release and package publication (2026-11-28).
- [x] Publish `v0.7.1`; protected publisher run 46097514014 passed; the `pypi` deployment was
approved by the maintainer.
- [x] Verify actual PyPI file hashes and a fresh wheel install; Read the Docs `v0.7.1` and `stable`
build; Zenodo version DOI 10.5281/zenodo.24615878.
- [x] Record the publication receipts and open 0.7.2.dev0 (this change).

Lessons from 0.7.1: run the local evidence from a clean detached worktree, because an untracked
folder inside the repository (for example a tutorial virtual environment) fails
`tests.test_file_headers`; after a coverage-gate failure caused by queue time, re-run the whole
workflow, not only the failed jobs; the final `Publish to PyPI` job waits for a reviewer click on
the run page, and the upload follows within a minute of it.

## Checklist (0.7.0)

Expand Down
25 changes: 24 additions & 1 deletion docs/release-readiness.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
# Release readiness

## Published 0.7.0 and prepared 0.7.1
## Published 0.7.1 and development 0.7.2.dev0

Published **0.7.1** (2026-11-28), tag `v0.7.1`, identifies
`a95cfa9ca3462cb0ea4190112dbcee1c3f02b436`. See the
[publication receipts](site/evidence/release-evidence.md#071-publication-2026-11-28),
[release notes](releases/0.7.1.md) and [migration guide](site/start/migration.md#from-070-to-071).
The version DOI is [10.5281/zenodo.24615878](https://doi.org/10.5281/zenodo.24615878).

This checkout opens **0.7.2.dev0**, unpublished development. It is not a new release and does
not inherit qualification for changed source. No numerical chemistry, reference data or recipe
targets change in this step.

| Item | Current disposition |
|---|---|
| Released source and CI | Main a95cfa9 passes 26 Test jobs; protected publisher 46097514014 passes all eight jobs. |
| Delivered artifacts | Actual PyPI downloads match the build artifact byte for byte; a fresh wheel install passes version, API, resource, `recommend` and `flahax batch` checks. |
| Archive/documentation | Zenodo version DOI archives the exact tag (880 files identical in size and CRC to the tag's source zip); tagged and stable Read the Docs builds show 0.7.1. |
| Development identity | Project, runtime, manual and generated API reference identify 0.7.2.dev0. Citation and published installation guidance retain 0.7.1. |
| Physical validation (#41) | Independent preparation/assay/crop evidence remains separate; no physical-accuracy or dosing-certification claim. |
| Future publication | This record creates no tag or upload. Any later release requires its own qualification and explicit approval. |

Historical records below retain their original revisions and publication facts.

### 0.7.0 published and 0.7.1 prepared (record at the time)

Published **0.7.0** (2026-11-19), tag `v0.7.0`, identifies
`8787877cac626251cba2ff0a049958a6a25cef71`. See the
Expand Down
10 changes: 6 additions & 4 deletions docs/releases/0.7.1.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# FlahaX 0.7.1 — 2026-11-28

**Declared artifact release date: 2026-11-28.** This declaration does not assert that a registry
upload, release tag or version-specific archive exists. The tag commit, GitHub Release, PyPI
files, version DOI and CI runs are recorded after publication, in the
[publication evidence](../site/evidence/release-evidence.md). The
**Published 2026-11-28.** Tag `v0.7.1` identifies commit `a95cfa9`.
The [GitHub Release](https://github.com/rafatahmed/Flahax/releases/tag/v0.7.1),
[PyPI wheel/sdist](https://pypi.org/project/flahax/0.7.1/),
[version DOI](https://doi.org/10.5281/zenodo.24615878) and
[publication evidence](../site/evidence/release-evidence.md#071-publication-2026-11-28)
record the delivered release. Later 0.7.2.dev0 checkouts are separate. The
[0.7.0 notes](0.7.0.md) describe the previous published release.

## Problem and scope
Expand Down
15 changes: 7 additions & 8 deletions docs/releases/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Unreleased development notes

Version **0.7.1** has declared artifact date **2026-11-28**; no changes beyond it are recorded.
Its changes are in the [changelog](../../CHANGELOG.md) section "0.7.1" and described in the
[0.7.1 release notes](0.7.1.md); the [migration guide](../site/start/migration.md#from-070-to-071)
says what to recalculate. Published 0.7.0 has
[release notes](0.7.0.md), a [changelog](../../CHANGELOG.md),
[publication evidence](../site/evidence/release-evidence.md#070-publication-2026-11-19)
and [version DOI](https://doi.org/10.5281/zenodo.24356739).
The checkout is **0.7.2.dev0**, unpublished development after 0.7.1.
No user-facing changes are recorded yet. Published 0.7.1 has
[release notes](0.7.1.md), a [changelog](../../CHANGELOG.md),
[publication evidence](../site/evidence/release-evidence.md#071-publication-2026-11-28)
and [version DOI](https://doi.org/10.5281/zenodo.24615878); the [migration guide](../site/start/migration.md#from-070-to-071)
says what to recalculate when moving from 0.7.0.

The [pre-curation development record](development-before-0.7.0.md) preserves
older entries. It contains superseded intermediate behavior and is not current
release guidance. No publication date or version DOI is assigned to 0.7.1.
release guidance. No publication date or version DOI is assigned to 0.7.2.dev0.
61 changes: 55 additions & 6 deletions docs/site/evidence/release-evidence.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ This page is the release log: for each FlahaX version, what was checked, on
which revision, and with what result. Newest first.

:::{note}
**Current published release: 0.7.0**, dated 2026-11-19.
**Current published release: 0.7.1**, dated 2026-11-28.
The exact tag, publisher, artifact hashes and installed checks are recorded
[below](#070-publication-2026-11-19). This checkout is **0.7.1**, declared artifact date 2026-11-28, unpublished:
no upload, tag or version DOI is recorded yet. Published 0.7.0 evidence applies to its tagged revision and actual
artifacts; it does not certify later changes.
[below](#071-publication-2026-11-28). This checkout is **0.7.2.dev0**, unpublished
development. Published 0.7.1 evidence applies to its tagged revision and actual
artifacts; it does not certify later development changes.
FlahaX is a planning and verification prototype: computational evidence is not
laboratory/field validation and does not authorize dosing or deployment.
See the [migration guide](../start/migration.md) and
Expand All @@ -24,14 +24,63 @@ They are kept here because the records cite them.

| Version | Date | Status | Record |
|---|---|---|---|
| 0.7.1 | 2026-11-28 | Finalized artifact, unpublished | [Preparation](#071-preparation-2026-11-28) |
| 0.7.0 | 2026-11-19 | Published, latest recorded | [Publication](#070-publication-2026-11-19) |
| 0.7.1 | 2026-11-28 | Published, latest recorded | [Publication](#071-publication-2026-11-28), [preparation](#071-preparation-2026-11-28) |
| 0.7.0 | 2026-11-19 | Published | [Publication](#070-publication-2026-11-19) |
| 0.6.0 | 2026-10-24 | Published | [Publication](#060-publication-2026-10-24) |
| 0.5.0 | 2026-10-20 | Published | [Publication](#050-publication-2026-10-20) |
| 0.4.0 | 2026-10-17 | Published | [Publication](#040-publication-2026-10-17), [preparation](#040-preparation-2026-10-17) |
| 0.3.1 | 2026-10-17 | Published | [Publication](#031-publication-2026-10-17), [release audit](#031-release-audit-2026-10-17), [documentation audit](#031-documentation-audit-2026-10-02), [preparation](#031-preparation-2026-10-01) |
| 0.3.0 | 2026-09-27 | Yanked 2026-10-17 | [Publication exception](#030-authorized-publication-exception-2026-09-27), [automated evidence](#030-automated-evidence), [P2/P3 acceptance](#p2p3-end-to-end-numerical-acceptance), [continuation](#package-and-delivery-continuation-2026-09-27), [cleanup](#030-release-readiness-cleanup), [preparation](#030-preparation) |

## 0.7.1 publication (2026-11-28)

Published under explicit maintainer authorization. The lightweight tag `v0.7.1`, created
by the GitHub Release, identifies `a95cfa9ca3462cb0ea4190112dbcee1c3f02b436` (merge of
[PR #365](https://github.com/rafatahmed/Flahax/pull/365)).
[Main CI 46095946638](https://github.com/rafatahmed/Flahax/actions/runs/46095946638)
passed all 26 jobs; the tagged
[publisher 46097514014](https://github.com/rafatahmed/Flahax/actions/runs/46097514014)
passed all eight jobs: tag and PyPI guard, the four Python-version unit and clean-install
jobs, pinned live PHREEQC, build and the protected PyPI deployment. The maintainer approved the
`pypi` deployment after the build; protection settings were retained. The GitHub Release was
published at 02:19:39 UTC (05:19:39 Riyadh) and has no release assets.

| Published artifact | Bytes | SHA-256 | PyPI upload (UTC, 2026-11-28) |
|---|---:|---|---|
| `flahax-0.7.1-py3-none-any.whl` | 501912 | `a511f46f395c79c1ea0132419a41f4ffc07bd504693838842bb667963dc9ca2d` | 2026-11-28T03:06:40.356414Z |
| `flahax-0.7.1.tar.gz` | 9128028 | `8666ddb9bf19c1625b04f65869fe02b95466feff02de65d2b1bcc98765d3f6cb` | 2026-11-28T03:06:42.633927Z |

The bytes downloaded from PyPI match PyPI's own digests and the build artifact hashed before
the deployment was approved. Metadata: 0.7.1, Python >=3.11, Apache-2.0, no runtime
dependencies; neither file is yanked. The source package is larger than 0.7.0's (6.7 to
9.1 MB) mainly because three brand images were added under `docs/site/_static/brand/`.

A fresh installation from PyPI on Python 3.13.15 (`pip install flahax==0.7.1`) installs no other
package; `flahax --version` prints 0.7.1, the package has 151 exports (unchanged), the packaged
resources are present, `recommend` is feasible and `flahax batch --formula "Tomato (Howard
Resh)" --water ro --ph 5.8` writes its three files. Install checks on Python 3.11, 3.12 and
3.14 or on Linux and macOS from PyPI were not run; the publisher's unit and clean-install jobs
ran on all four Pythons on the tagged commit.

Each publisher test job ran 2146 tests with no failures or errors: Python 3.11 skipped 33,
3.12 skipped 31, and 3.13 and 3.14 each skipped 30. These are not 2146 passes per version.
Native coverage and the exact coverage gate are in the separate exact-main CI run.

Zenodo version DOI: [10.5281/zenodo.24615878](https://doi.org/10.5281/zenodo.24615878) (created 2026-11-28T02:19:45Z). It archives
the GitHub source ZIP, not the wheel or sdist; its recorded MD5 matches the downloaded file.
GitHub regenerates source ZIPs, so the two archives differ as bytes, but all 880 files are
identical in name, size and CRC to the tag's source ZIP, and the archive's top folder is
`rafatahmed-Flahax-a95cfa9`.

Read the Docs: `/en/v0.7.1/` builds, with the 0.7.1 changelog and the "From 0.7.0 to 0.7.1"
migration section, and `/en/stable/` serves the 0.7.1 changelog. Build numbers were not read
from the Read the Docs dashboard. No source tag or uploaded artifact was rewritten.

Process notes: a first local evidence run in the developer working copy failed
`tests.test_file_headers` because an untracked tutorial virtual environment sits inside the
repository folder; the run was repeated from a clean worktree (see the preparation record).
The detailed run records are kept outside the repository.

## 0.7.1 preparation (2026-11-28)

Prepared revision: `main` at `ef6ad37` (merge of
Expand Down
2 changes: 1 addition & 1 deletion docs/site/project/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ decisions, are kept per release:

| Release | Notes |
|---|---|
| 0.7.1 (2026-11-28 artifact date) | [Release notes](https://github.com/rafatahmed/Flahax/blob/main/docs/releases/0.7.1.md); [migration](../start/migration.md#from-070-to-071) |
| 0.7.1 (published 2026-11-28) | [Release notes](https://github.com/rafatahmed/Flahax/blob/main/docs/releases/0.7.1.md); [migration](../start/migration.md#from-070-to-071) |
| 0.7.0 (published 2026-11-19) | [Release notes](https://github.com/rafatahmed/Flahax/blob/main/docs/releases/0.7.0.md); [migration](../start/migration.md) |
| 0.6.0 | [docs/releases/0.6.0.md](https://github.com/rafatahmed/Flahax/blob/main/docs/releases/0.6.0.md) |
| 0.5.0 | [docs/releases/0.5.0.md](https://github.com/rafatahmed/Flahax/blob/main/docs/releases/0.5.0.md) |
Expand Down
5 changes: 2 additions & 3 deletions docs/site/start/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ python -m pip install flahax
```

Published **0.7.0** (2026-11-19) is available with
`python -m pip install flahax==0.7.0`. Version **0.7.1** has declared artifact date **2026-11-28**;
install a reviewed checkout with `python -m pip install .`. Once 0.7.1 is available on PyPI, pin it
with `python -m pip install flahax==0.7.1`.
`python -m pip install flahax==0.7.1`. This source checkout is **0.7.2.dev0**,
unpublished development; install a reviewed checkout with `python -m pip install .`.
Check `flahax --version` and do not silently substitute versions.

## Check what is installed
Expand Down
2 changes: 1 addition & 1 deletion docs/site/start/migration.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Migrate saved workflows

This guide covers upgrading **from 0.7.0 to 0.7.1** (first section) and **from 0.6.0 to 0.7.0**
(the table after it). 0.7.1 has declared artifact date 2026-11-28 and is not yet recorded as published; the latest publication recorded in
(the table after it). 0.7.1 was published on 2026-11-28; the latest publication recorded in
[release evidence](../evidence/release-evidence.md) is 0.7.0. Historical tests and benchmark
downloads describe their own revisions.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "flahax"
version = "0.7.1"
version = "0.7.2.dev0"
description = "Fertilizer recipe, pH and acid plan and A/B stock tanks from a water analysis and a crop formula: an interactive command for growers and agronomists on a pure-Python nutrient-chemistry engine checked against PHREEQC."
readme = "README.md"
requires-python = ">=3.11"
Expand Down
2 changes: 1 addition & 1 deletion src/flahax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"load_identities",
"identity_for_product",
]
__version__ = '0.7.1'
__version__ = '0.7.2.dev0'

# Public names load on first use (PEP 562): `import flahax` stays cheap and each
# name imports only the module that defines it (#335).
Expand Down
2 changes: 1 addition & 1 deletion src/flahax/data/API_REFERENCE.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
0