New Features
- Added Pixi as the recommended installation path for transport modellers. The release now provides a
pixi.tomlfile that creates the Python, R,osmium-tool, and Mobility environment from one project folder. (#388) - Kept the mamba environment file as a fallback for users who already have a working mamba setup. (#388)
- Added a Mobility runtime Docker image with Python, R,
osmium-tool, and the system libraries needed to run Mobility scripts. (#387, #390, #394) - Added country-neutral grouped trip support, so
PopulationGroupDayTripscan now work beyond the previous France-only assumptions. (#383) - Added French GTFS source filtering by administrative areas, which makes it easier to select public transport feeds that cover the study area. (#379)
Bug Fixes
- Fixed car graph access-tag handling, including mixed HOV lanes and restricted access cases. (#384)
- Fixed Swiss urban unit category mapping. (#386)
- Fixed missing urban unit categories so local administrative units can still be prepared when some categories are absent from the source data. (#393)
- Added follow-up tests for country-neutral helpers to protect the new country registry and grouped trip behavior. (#385)
Chores
- Updated the release workflow so
pixi.tomlandenvironment.ymlare both attached to GitHub releases. (#388) - Split runtime image publishing from the PyPI release. The package is now published first, then the Docker image is built manually after the new package exists on PyPI. (#390, #391, #394)
- Updated installation, quickstart, contributor, release, and README documentation for the Pixi-first install flow. (#388, #394)
Migration Notes
The recommended install path now uses Pixi:
mkdir first-mobility-study
cd first-mobility-study
curl -L -o pixi.toml "https://github.com/mobility-team/mobility/releases/download/v0.2.1/pixi.toml"
pixi install
pixi run python -c "import mobility; print(mobility.__file__)"The Python package name is still mobility-tools, and the Python import name is still mobility.
The mamba fallback remains available:
curl -L -o environment.yml "https://github.com/mobility-team/mobility/releases/download/v0.2.1/environment.yml"
mamba env create -n mobility -f environment.yml
mamba activate mobility
pip install mobility-tools==0.2.1The runtime Docker image is published separately after the PyPI package is available:
docker run --rm ghcr.io/mobility-team/mobility-runtime:0.2.1 python -c "import mobility; print(mobility.__file__)"Changelog
This is a small release after v0.2.0. It mainly improves installation and release assets, adds a prepared runtime image, and fixes country and administrative-area edge cases found while preparing French and Swiss studies.
What's Changed
- Filter French GTFS sources with admin areas by @FlxPo in #379
- Make PopulationGroupDayTrips country-neutral by @FlxPo in #383
- Fix car graph access tags by @FlxPo in #384
- Add follow-up coverage tests for country-neutral helpers by @FlxPo in #385
- Fix Swiss urban unit category mapping by @FlxPo in #386
- Add a Mobility runtime Docker image by @FlxPo in #387
- Install the released package in the runtime image by @FlxPo in #390
- Limit runtime image validation on pull requests by @FlxPo in #391
- Fix missing urban unit categories by @FlxPo in #393
- Add Pixi install support by @FlxPo in #388
- Make runtime image publishing manual by @FlxPo in #394
Full Changelog: v0.2.0...v0.2.1