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
9 changes: 6 additions & 3 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,19 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8 pylint mypy
pip install flake8 pylint mypy pytest

- name: Validate Python syntax
run: python -m compileall . -q

- name: Test CLI help
run: python create_map_poster.py --help
run: python -m opencartograph --help

- name: Test list themes
run: python create_map_poster.py --list-themes
run: python -m opencartograph --list-themes

- name: Run unit tests
run: pytest tests/ -v --tb=short

- name: Lint with flake8
run: |
Expand Down
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased] - Community Contributions
## [Unreleased]

## [0.4.0] - OpenCartograph

### Added
- **Package rename** - Renamed from `maptoposter` to `opencartograph`
- New `opencartograph` Python package with proper module structure
- CLI entry point: `opencartograph` command via `pyproject.toml` scripts
- Removed legacy `create_map_poster.py` and `font_management.py` entry points
- **`--no-text` flag** - Generate posters without typography overlay
- **Expanded green-space rendering** - Parks layer now includes cemeteries (`landuse=cemetery`) and woods (`natural=wood`)
- **OSMnx caching** - Enabled `ox.settings.use_cache = True` for faster repeated fetches
- **uv package manager support** ([PR #20](https://github.com/originalankur/maptoposter/pull/20))
- Added `pyproject.toml` with project metadata and dependencies
- Added `uv.lock` for reproducible builds
- Added shebang to `create_map_poster.py` for direct execution
- Updated README with uv installation instructions
- **Python version specification** - `requires-python = ">=3.11"` in pyproject.toml (fixes [#79](https://github.com/originalankur/maptoposter/issues/79))
- **Coordinate override** - `--latitude` and `--longitude` arguments to override the geocoded center point (existing from upstream PR #106, clarifies [#100](https://github.com/originalankur/maptoposter/issues/100))
Expand Down
Loading
Loading