Skip to content

Add "minimum_runtime" option to Python target settings#119

Merged
dahlia merged 3 commits intonirum-lang:masterfrom
dahlia:minimum-runtime
Mar 16, 2017
Merged

Add "minimum_runtime" option to Python target settings#119
dahlia merged 3 commits intonirum-lang:masterfrom
dahlia:minimum-runtime

Conversation

@dahlia
Copy link
Member

@dahlia dahlia commented Mar 14, 2017

This patch adds minimum_runtime option to Python target settings. The specified version goes to the generated install_requires list. Also the Nirum compiler now has its own minimum runtime version; see also Nirum.Targets.Python.minimumRuntime constant.

If minimum_runtime option specified by package.toml is older than compiler's minimum runtime version, or it's omitted, compiler's version is used instead.

Closes #118.

@dahlia dahlia added the typ:enhance Type: Enhancement/new feature label Mar 14, 2017
@dahlia dahlia self-assigned this Mar 14, 2017
@dahlia
Copy link
Member Author

dahlia commented Mar 16, 2017

Though its build on macOS have been still failing (see also #115), as I tested it on my local macOS machine, I will merge this.

@dahlia dahlia merged commit 02ef704 into nirum-lang:master Mar 16, 2017
@dahlia dahlia added cat:packaging Category: Nirum schema packaging (not compiler packaging) cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) cmp:runtime Component: Target runtimes target:python labels Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:packaging Category: Nirum schema packaging (not compiler packaging) cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) cmp:runtime Component: Target runtimes target:python typ:enhance Type: Enhancement/new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants