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 .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- name: 🛎️ Checkout code
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
- **Streamlit App**:
- Updated `kaleido` dependency to latest version.

## [1.0.3] – 2025-07-15  :bug: **“Patch Release”**
## [1.0.3] – 2025-07-11  :bug: **“Patch Release”**
### Fixed
- **Streamlit Cloud App**:
- Fixed issue with PNG export not working in the latest version of Kaleido, new major version of Kaleido now requires Chromium to be installed. So we have downgraded Kaleido to 0.2.1. We have tried to call `kaleido.get_chrome_sync()` to ensure it works in Streamlit Cloud and other environments, but it is not
possible to call it in the Streamlit Cloud environment, the Streamlit Cloud environment does not allow changing system environment variables like `KALEIDO_CACHE_DIR` or calling `kaleido.get_chrome_sync()`. So we have removed the call to `kaleido.get_chrome_sync()` and set the default format, width, height, and scale for PNG export using `pio.kaleido.scope`. For this we also had to update the `plotly` dependency to `<6.0.0` to ensure compatibility with the `0.2.1` version of `kaleido`.
possible to call it in the Streamlit Cloud environment, the Streamlit Cloud environment does not allow changing system environment variables like `KALEIDO_CACHE_DIR` or calling `kaleido.get_chrome_sync()`. So we have removed the call to `kaleido.get_chrome_sync()` and set the default format, width, height, and scale for PNG export using `pio.kaleido.scope`. For this we also had to update the `plotly` dependency to `<6.0.0` to ensure compatibility with the `0.2.1` version of `kaleido`.

## [1.0.4] - 2025-08-30 &nbsp;:tada: **“Support for Python 3.13”**
### Changed
- **Python Compatibility**:
- As the latest TensorFlow is now compatible with Python 3.13, updated Python compatibility in `pyproject.toml` and classifiers to include Python 3.13.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use Python as the base image
FROM python:3.12-slim
FROM python:3.13-slim

# Set working directory
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ merrypopins supports Python 3.10+ and depends on:

These are installed automatically via `pip`.

All core and development dependencies are tested with Python 3.10 through 3.12.
All core and development dependencies are tested with Python 3.10 through 3.13.
---

## Quickstart
Expand Down Expand Up @@ -428,7 +428,7 @@ Notes:
pytest --cov=merrypopins --cov-report=term-missing
```
This command runs all tests in the `tests/` directory and generates a coverage report showing which lines of code were executed during the tests.
Tests and linting are automatically run on each pull request via GitHub Actions. The CI uses Python 3.10–3.12 and runs pre-commit, pytest, and coverage checks.
Tests and linting are automatically run on each pull request via GitHub Actions. The CI uses Python 3.10–3.13 and runs pre-commit, pytest, and coverage checks.

3. Generate HTML coverage report:
```bash
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ merrypopins supports Python 3.10+ and depends on:

These are installed automatically via `pip`.

All core and development dependencies are tested with Python 3.10 through 3.12.
All core and development dependencies are tested with Python 3.10 through 3.13.

# Development & Testing

Expand Down Expand Up @@ -91,7 +91,7 @@ Notes:
pytest --cov=merrypopins --cov-report=term-missing
```
This command runs all tests in the `tests/` directory and generates a coverage report showing which lines of code were executed during the tests.
Tests and linting are automatically run on each pull request via GitHub Actions. The CI uses Python 3.10–3.12 and runs pre-commit, pytest, and coverage checks.
Tests and linting are automatically run on each pull request via GitHub Actions. The CI uses Python 3.10–3.13 and runs pre-commit, pytest, and coverage checks.

3. Generate HTML coverage report:
```bash
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"

[project]
name = "merrypopins"
version = "1.0.3"
version = "1.0.4"
description = "Merrypopins: Automated pop-in detection for nano-indentation experiments tooling: load_datasets, preprocess, locate, statistics & make_dataset"
readme = "README.md"
requires-python = ">=3.10,<3.13"
requires-python = ">=3.10,<3.14"
license = { text = "MIT" }
authors = [
{ name = "Cahit Acar", email = "c.acar.business@gmail.com" },
Expand All @@ -21,6 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Physics"
]
Expand Down
2 changes: 1 addition & 1 deletion src/merrypopins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- `make_dataset`: Construct enriched datasets by running the full pipeline and exporting annotated results and visualizations.
"""

__version__ = "1.0.3"
__version__ = "1.0.4"

# Expose submodules at the package level
from . import load_datasets, preprocess, locate, statistics, make_dataset
Expand Down