diff --git a/CHANGELOG.md b/CHANGELOG.md index b2d3e53..9b31056 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ -## Unreleased +## 2.2.2rc1 (2025-08-18) + +- [EV-2285](https://eit-oxford.atlassian.net/browse/EV-2285) Add deprecation warnings to client ## 2.2.1 (2025-07-03) diff --git a/Dockerfile b/Dockerfile index 9b280ad..98a2c88 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Bioconda-based build against latest PyPI release # Created for a specific user. Not part of the pypi release process FROM condaforge/miniforge3:latest -ENV PATHOGENA_CLIENT_VERSION=2.2.1 +ENV PATHOGENA_CLIENT_VERSION=2.2.2rc1 RUN mamba install -c bioconda hostile==1.1.0 RUN pip install https://pypi.io/packages/source/g/pathogena/pathogena-${PATHOGENA_CLIENT_VERSION}.tar.gz diff --git a/README_pypi.md b/README_pypi.md index e01e6ff..9b310bc 100644 --- a/README_pypi.md +++ b/README_pypi.md @@ -1,3 +1,9 @@ +> # ⚠️ Deprecated +> +> `pathogena` has been renamed `gpas`. Please use the [GPAS PyPI project](https://pypi.org/project/gpas/) instead. +> +> The package under this name will no longer be receiving updates. + # EIT Pathogena Client The command line interface for the EIT Pathogena platform. @@ -303,7 +309,7 @@ Options: --output-csv FILE Path to output CSV file [required] --batch-name TEXT Batch name [required] --collection-date [%Y-%m-%d] Collection date (YYYY-MM-DD) [default: - 2025-07-03; required] + 2025-08-11; required] --country TEXT 3-letter Country Code [required] --instrument-platform [illumina|ont] Sequencing technology @@ -324,7 +330,7 @@ Options: -h, --help Show this message and exit. ``` -This command generates a CSV from a given directory of fastq sample files. An [example](https://github.com/EIT-Pathogena/client/tree/2.2.1/docs/assets) of such a CSV file is given in the assets directory. A CSV file in this format is required to run the [pathogena upload](#pathogena-upload) command. +This command generates a CSV from a given directory of fastq sample files. An [example](https://github.com/EIT-Pathogena/client/tree/2.2.2/docs/assets) of such a CSV file is given in the assets directory. A CSV file in this format is required to run the [pathogena upload](#pathogena-upload) command. Note: the CSV file must be located in the same directory as the sample.fastq files to be used with the upload command. @@ -373,7 +379,7 @@ Options: ``` This command will attempt to remove human reads from a given input CSV file, in the same structure as the input CSV that -would be used for uploading to EIT Pathogena, an [example can be found here](https://github.com/EIT-Pathogena/client/tree/2.2.1/docs/assets). +would be used for uploading to EIT Pathogena, an [example can be found here](https://github.com/EIT-Pathogena/client/tree/2.2.2/docs/assets). By default, the processed files will be output in the same directory that the command is run in, but you can choose a different directory with the `--output-dir` argument. diff --git a/docs/intro.md b/docs/intro.md index 27d60b2..57e1856 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -1,3 +1,9 @@ +> # ⚠️ Deprecated +> +> `pathogena` has been renamed `gpas`. Please use the [GPAS PyPI project](https://pypi.org/project/gpas/) instead. +> +> The package under this name will no longer be receiving updates. + # EIT Pathogena Client The command line interface for the EIT Pathogena platform. diff --git a/src/pathogena/__init__.py b/src/pathogena/__init__.py index 3e88a3c..4ffaeb0 100644 --- a/src/pathogena/__init__.py +++ b/src/pathogena/__init__.py @@ -1,3 +1,3 @@ """The command line and Python client for EIT Pathogena.""" -__version__ = "2.2.1" +__version__ = "2.2.2rc1" diff --git a/src/pathogena/cli.py b/src/pathogena/cli.py index 3c2f018..180040e 100644 --- a/src/pathogena/cli.py +++ b/src/pathogena/cli.py @@ -20,7 +20,10 @@ ) def main(*, debug: bool = False) -> None: """EIT Pathogena command line interface.""" - lib.check_for_newer_version() + logging.warning( + f"⚠️ Deprecated! ⚠️ \n'pathogena' has been renamed to 'gpas' - please use https://pypi.org/project/gpas/. \n" + f"The package under this name will no longer be receiving updates." + ) util.display_cli_version() configure_debug_logging(debug)