From cabdb6465bcea4fbc0015403301228f5ff7c347b Mon Sep 17 00:00:00 2001 From: AHReccese Date: Thu, 27 Nov 2025 15:48:35 -0500 Subject: [PATCH 1/7] Update README.md with version compatibility note for ML streaming feature --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6a1d90b6..5e824682 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,8 @@ You can easily serve your ML model from a remote server using `ML streaming` fea ⚠️ In order to use `ML streaming` feature, make sure you've installed the `streaming` mode of PyMilo +⚠️ **Version compatibility note:** For `ML streaming` over `WebSocket`, please use PyMilo versions `<=1.3`. In version `1.4`, `ML streaming` over `WebSocket` is under construction and not fully functional. For `ML streaming` over `REST`, you can safely use version `1.4` and later. + You can choose either `REST` or `WebSocket` as the communication medium protocol. #### Server From 647cbec61e97bfc92c7d0934e892530c868d3543 Mon Sep 17 00:00:00 2001 From: AHReccese Date: Thu, 27 Nov 2025 15:53:53 -0500 Subject: [PATCH 2/7] Update version to 1.4 in documentation and code files --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 + README.md | 4 ++-- SECURITY.md | 4 ++-- otherfiles/meta.yaml | 2 +- otherfiles/version_check.py | 2 +- pymilo/pymilo_param.py | 2 +- setup.py | 4 ++-- 7 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index e30dc9b4..b80c036c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -85,6 +85,7 @@ body: label: PyMilo version description: Which version of PyMilo are you using? options: + - PyMilo 1.4 - PyMilo 1.3 - PyMilo 1.2 - PyMilo 1.1 diff --git a/README.md b/README.md index 5e824682..531e53ee 100644 --- a/README.md +++ b/README.md @@ -66,9 +66,9 @@ PyMilo is an open source Python package that provides a simple, efficient, and s ### PyPI - Check [Python Packaging User Guide](https://packaging.python.org/installing/) -- Run `pip install pymilo==1.3` +- Run `pip install pymilo==1.4` ### Source code -- Download [Version 1.3](https://github.com/openscilab/pymilo/archive/v1.3.zip) or [Latest Source](https://github.com/openscilab/pymilo/archive/dev.zip) +- Download [Version 1.4](https://github.com/openscilab/pymilo/archive/v1.4.zip) or [Latest Source](https://github.com/openscilab/pymilo/archive/dev.zip) - Run `pip install .` ### Conda diff --git a/SECURITY.md b/SECURITY.md index 48fb1b1e..b92056e5 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,8 +4,8 @@ | Version | Supported | | ------------- | ------------------ | -| 1.3 | :white_check_mark: | -| < 1.3 | :x: | +| 1.4 | :white_check_mark: | +| < 1.4 | :x: | ## Reporting a vulnerability diff --git a/otherfiles/meta.yaml b/otherfiles/meta.yaml index 65aef501..8398d723 100644 --- a/otherfiles/meta.yaml +++ b/otherfiles/meta.yaml @@ -1,5 +1,5 @@ {% set name = "pymilo" %} -{% set version = "1.3" %} +{% set version = "1.4" %} package: name: {{ name|lower }} diff --git a/otherfiles/version_check.py b/otherfiles/version_check.py index 90b831e8..b163fa0b 100644 --- a/otherfiles/version_check.py +++ b/otherfiles/version_check.py @@ -4,7 +4,7 @@ import sys import codecs Failed = 0 -PYMILO_VERSION = "1.3" +PYMILO_VERSION = "1.4" SETUP_ITEMS = [ diff --git a/pymilo/pymilo_param.py b/pymilo/pymilo_param.py index e0f9dd33..74b4c73c 100644 --- a/pymilo/pymilo_param.py +++ b/pymilo/pymilo_param.py @@ -86,7 +86,7 @@ OVERVIEW = """ PyMilo is an open source Python package that provides a simple, efficient, and safe way for users to export pre-trained machine learning models in a transparent way. """ -PYMILO_VERSION = "1.3" +PYMILO_VERSION = "1.4" NOT_SUPPORTED = "NOT_SUPPORTED" PYMILO_VERSION_DOES_NOT_EXIST = "Corrupted JSON file, `pymilo_version` doesn't exist in this file." UNEQUAL_PYMILO_VERSIONS = "warning: Installed PyMilo version differs from the PyMilo version used to create the JSON file." diff --git a/setup.py b/setup.py index 2122e336..5fc0b7ff 100644 --- a/setup.py +++ b/setup.py @@ -35,14 +35,14 @@ def read_description(): setup( name='pymilo', packages=find_packages(include=['pymilo*'], exclude=['tests*']), - version='1.3', + version='1.4', description='PyMilo: Python for ML I/O', long_description=read_description(), long_description_content_type='text/markdown', author='PyMilo Development Team', author_email='pymilo@openscilab.com', url='https://github.com/openscilab/pymilo', - download_url='https://github.com/openscilab/pymilo/tarball/v1.3', + download_url='https://github.com/openscilab/pymilo/tarball/v1.4', keywords="machine_learning ml ai mlops model export import", project_urls={ 'Source': 'https://github.com/openscilab/pymilo', From 9840ee8caf5b20c4cfb364a3eafe1bf8ec96645e Mon Sep 17 00:00:00 2001 From: AHReccese Date: Thu, 27 Nov 2025 15:53:58 -0500 Subject: [PATCH 3/7] Update CHANGELOG.md to reflect version 1.4 changes, including added and changed sections, and update links for version comparison. --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71d8b149..2293ecea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] ### Added ### Changed +### Removed + +## [1.4] - 2025-11-27 +### Added +### Changed - `README.md` updated - `__init__` function in `PyMiloServer` - Test system modified @@ -397,7 +402,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - `Export` class - `Import` class -[Unreleased]: https://github.com/openscilab/pymilo/compare/v1.3...dev +[Unreleased]: https://github.com/openscilab/pymilo/compare/v1.4...dev +[1.4]: https://github.com/openscilab/pymilo/compare/v1.3...v1.4 [1.3]: https://github.com/openscilab/pymilo/compare/v1.2...v1.3 [1.2]: https://github.com/openscilab/pymilo/compare/v1.1...v1.2 [1.1]: https://github.com/openscilab/pymilo/compare/v1.0...v1.1 From 8ee657a75a46e2dc78f2e8e3500b47d9e02a7c9c Mon Sep 17 00:00:00 2001 From: AHReccese Date: Thu, 27 Nov 2025 23:55:34 -0500 Subject: [PATCH 4/7] Remove empty sections from CHANGELOG.md for unreleased changes. --- CHANGELOG.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2293ecea..bb544c90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,6 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [Unreleased] -### Added -### Changed -### Removed ## [1.4] - 2025-11-27 ### Added From de159bc770a94aa4222881a8526e51b6cafad090 Mon Sep 17 00:00:00 2001 From: AHReccese Date: Thu, 27 Nov 2025 23:55:46 -0500 Subject: [PATCH 5/7] Update README.md to clarify version compatibility for ML streaming over WebSocket, removing redundant information. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 531e53ee..f6d1e305 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ You can easily serve your ML model from a remote server using `ML streaming` fea ⚠️ In order to use `ML streaming` feature, make sure you've installed the `streaming` mode of PyMilo -⚠️ **Version compatibility note:** For `ML streaming` over `WebSocket`, please use PyMilo versions `<=1.3`. In version `1.4`, `ML streaming` over `WebSocket` is under construction and not fully functional. For `ML streaming` over `REST`, you can safely use version `1.4` and later. +⚠️ **Version compatibility note:** For ML streaming over `WebSocket`, please use PyMilo versions `<=1.3`. In version `1.4`, `ML streaming` over `WebSocket` is under construction and not fully functional. You can choose either `REST` or `WebSocket` as the communication medium protocol. From bfdf3c1411b98f29e7283850f699c26d817254b0 Mon Sep 17 00:00:00 2001 From: AHReccese Date: Fri, 28 Nov 2025 10:02:52 -0500 Subject: [PATCH 6/7] Update CHANGELOG.md to add an unreleased section for future changes. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb544c90..b5af3aea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## [Unreleased] ## [1.4] - 2025-11-27 ### Added ### Changed From 894f1f99e973ba01928bd886262627dbcc8579d8 Mon Sep 17 00:00:00 2001 From: AHReccese Date: Fri, 28 Nov 2025 10:03:02 -0500 Subject: [PATCH 7/7] Update README.md to clarify the stability status of the ML streaming feature, indicating it is under construction and not yet stable. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f6d1e305..869a3687 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ You can easily serve your ML model from a remote server using `ML streaming` fea ⚠️ In order to use `ML streaming` feature, make sure you've installed the `streaming` mode of PyMilo -⚠️ **Version compatibility note:** For ML streaming over `WebSocket`, please use PyMilo versions `<=1.3`. In version `1.4`, `ML streaming` over `WebSocket` is under construction and not fully functional. +⚠️ The `ML streaming` feature is under construction and is not yet considered stable. You can choose either `REST` or `WebSocket` as the communication medium protocol.