Commit Graph
66 Commits
Author SHA1 Message Date
Michael BiancoandGitHub 4cf15bc783 feat: use py package versions from any mise-supported version specification file (#261)
* test: add .tool-versions test

* feat: extract locally defined mise package versions

* test: .tool-versions unit tests

* docs: integration tests docs

* build: local mise config for less annoying warnings

* feat: pull python ecosystem versions from mise

* feat: internal support for extracting mise-specified package versions from app folder

* refactor: move mise package version methods into context

* test: snapshots

* test: multiple test.json expectation lines

this is using newly implemented multiple expectations syntax

* test: support multiple expectations per test.json entry, don't use additional non-deterministic contains to throw an error

* refactor: refine mise interface

* refactor: make mise versions easier for a provider to use

* test: snapshot update

* refactor: move mise local package logic to step builder

* test: move mise package version extraction to mise step builder tests

* refactor: move mise package into mise step builder
2025-10-01 07:14:27 -06:00
24f0a773d8 feat: dockerignore support (#263)
* test: dockerignore test project

* docs: claude.md update

* feat: parse dockerignore files

* fixup! feat: parse dockerignore files

* feat: use revised local layer

* feat: parse dockerfiles and pass includes/excludes to the local layer

* test: snapshot

* refactor: ai cleanup

* test: dockerignore parsing tests

* refactor: remove obvious comment

* test: dockerignore failure tests

* Apply suggestion from @coffee-cup

Co-authored-by: Jake Runzer <[email protected]>

* Apply suggestion from @coffee-cup

Co-authored-by: Jake Runzer <[email protected]>

* docs: always use App for fs ops

* refactor: pass App to dockerignore context instead of a path to the repo

* test: pass app to dockerignore

---------

Co-authored-by: Jake Runzer <[email protected]>
2025-09-24 16:11:40 -06:00
Jake RunzerandGitHub 6c1823f3e6 Update default versions for Go, Python, Ruby, and Rust providers (#267)
* update provider default versions

* update golang test
2025-09-16 16:53:26 -04:00
Michael BiancoandGitHub 08a32ea8cc fix: remove python3-dev apt package (#256)
* fix: remove python build packages

mise uses precompiled versions of python, so this shouldn't be needed

* test: snapshot update
2025-09-15 18:44:59 -06:00
Jake RunzerandGitHub 3b5ab60b7e Revert "fix: use default mise backends for python packages (#249)" (#252)
This reverts commit f15960d2f7.
2025-09-04 22:44:10 -04:00
Michael BiancoandGitHub f15960d2f7 fix: use default mise backends for python packages (#249)
* fix: use mise default backends for uv and other package manager installs

* test: update snapshots
2025-09-03 16:17:12 -06:00
Michael BiancoandGitHub 5af5eb5161 refactor: use consistent local layers entrypoint (#241)
* fix: show-plan not showing json output

regression from $schema addition

* refactor: all providers using a consistent local layer entrypoint

* refactor: add local filesystem through a consistent entrypoint

* fix: improved error message on invalid firstInput

* test: remove path argument from NewLocalLayer test

* test: failing workspace example with uv

* test: passing workspace example

* feat: detect uv workspaces

* test: add packaged uv example

* test: snapshot update
2025-09-03 10:39:48 -06:00
Jake RunzerandGitHub 43229e0c14 Use pipx:package pattern for Python package managers (#186)
* Use pipx:package pattern for Python package managers in mise

Install Python package managers (poetry, pdm, uv, pipenv) using the
pipx:package pattern through mise instead of separate pipx install commands.
This approach is more efficient and consistent.

* update python snapshots
2025-06-24 17:14:24 -04:00
Jake RunzerandGitHub 1e6c3535d9 support pycairo (#178)
* support pycairo

* merge pycairo example with system deps
2025-06-13 19:13:29 -04:00
Jake RunzerandGitHub 93951b63ec prefer python_full_version in Pipfile (#142)
* prefer `python_full_version` in `Pipfile`

* update php snapshot
2025-04-21 14:46:10 -04:00
Jake RunzerandGitHub a1b23c76b0 fix poetry env (#136) 2025-04-01 17:29:45 -04:00
Jake RunzerandGitHub 0a5fe7f6ad [Python] copy all files to build context if necessary (#135)
* [Python] copy all files to build context if necessary

* update snapshot tests
2025-04-01 15:38:32 -04:00
Jake RunzerandGitHub d8f31b4589 Custom config step deploy outputs (#118)
* rename plan inputs to layers and use deploy base layer

* runtime deps installed

* step builders can create multiple steps

* support config step deploy outputs

* optimize when we merge vs copy layers

* update snapshots

* validate the deploy layers

* fix tests

* dont add mise if no packages

* fix pruning for php

* update layer merging and snapshot tests

* dont include mise commands or variables if no packages

* update docs

* update snapshots and normalization

* add guide for adding custom steps

* support .node-version file

* fix compile errors

* update snapshot tests
2025-04-01 13:33:30 -04:00
Jake Runzer 208284f1a4 support python app.py and bot.py 2025-03-13 20:59:43 -04:00
Jake Runzer f5f2ece51a store python install artifcats on separate layer 2025-03-11 16:47:19 -04:00
Jake Runzer 464cad4d09 move utils to internal 2025-03-10 19:05:21 -04:00
Jake Runzer e250e55749 optimize providers for merging states 2025-03-08 14:03:32 -05:00
Jake Runzer be3cf8f6db add pipx bin dir to path before installing 2025-03-07 18:33:46 -05:00
Jake Runzer dbb5b897a9 parse semver version from text 2025-03-07 18:32:09 -05:00
Jake Runzer 5bb084e8f3 update snapshots 2025-03-07 17:36:52 -05:00
Jake Runzer 60fb412dc3 install mysql client python runtime 2025-03-07 17:34:46 -05:00
Jake Runzer 46a3de71bf fix poetry virtual env 2025-03-07 13:41:34 -05:00
Jake RunzerandGitHub 039c26c07e Merge pull request #79 from railwayapp/jr/python-fasthtml-flask-ootb-support
support for fasthtml and flask
2025-03-07 02:14:37 -05:00
Jake Runzer 10e3509a22 support for fasthtml and flask 2025-03-07 01:49:26 -05:00
Jake RunzerandGitHub 667d491ba7 Merge branch 'main' into jr/default-python-3.11 2025-03-07 01:23:14 -05:00
Jake Runzer 588b2f1231 default to python 3.11 for compatability 2025-03-07 00:33:59 -05:00
Jake Runzer f902eb48a1 remove commented out code 2025-03-07 00:33:07 -05:00
Jake Runzer 18a34613d7 use a virtual env for pip installs 2025-03-07 00:28:20 -05:00
Jake Runzer 4af1477f14 append global python-packages/bin path for pip 2025-03-04 22:52:30 -05:00
Jake Runzer d7cf9a4a5b python django and postgres support 2025-03-04 19:35:04 -05:00
Jake Runzer c21fc6f0c0 refactor python install planning 2025-03-04 18:28:18 -05:00
Jake Runzer 5c058e08a5 basic django support 2025-03-04 03:48:51 -05:00
Jake Runzer 4188f20e21 update language docs 2025-03-03 18:34:46 -05:00
Jake Runzer 2f12583c70 remove double pipenv commands 2025-02-28 13:40:16 -05:00
Jake Runzer 0f3b85fb13 start command and missing build plan errors 2025-02-27 21:47:21 -05:00
Jake Runzer 955bc6a511 logger for logs, warns, and errors 2025-02-27 20:17:07 -05:00
Jake Runzer 10f5ddd58f change how config is applied 2025-02-23 21:23:42 -05:00
Jake Runzer c39a419887 pipfile support 2025-02-23 18:49:15 -05:00
Jake Runzer 3ac7b84140 pdm support 2025-02-23 14:09:27 -05:00
Jake Runzer cefa9ec1cf python poetry 2025-02-22 11:55:21 -05:00
Jake Runzer dfb762abf5 python uv working 2025-02-22 00:02:53 -05:00
Jake Runzer e369788306 python pip complete 2025-02-21 23:21:11 -05:00
Jake Runzer fcc33d45e6 checkpoint laravel working 2025-02-21 18:41:15 -05:00
Jake Runzer a189052f3e refactor step inputs/outputs system 2025-02-20 17:42:56 -05:00
Jake Runzer 79e5fd86fb add an init method to providers 2025-02-20 14:05:17 -05:00
Jake Runzer 8152fff261 no pointers to slice 2025-02-17 14:40:53 -05:00
Jake Runzer dae8f77573 python install secret prefixes 2025-02-17 13:58:37 -05:00
Jake Runzer 720c125015 variables live on the step level instead of in a command 2025-02-15 18:42:47 -05:00
Jake Runzer 0b3d8f3c81 move caches to step level instead of command level 2025-02-15 18:22:28 -05:00
Jake Runzer b936e71839 update default python version 2025-02-13 13:18:03 -07:00