-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#39 ⬆️ update default python version from 3.9.16 to 3.11.4 so ensure …
…latest binary installer is available; ✨ catch poetry check error and perform remediation
- Loading branch information
1 parent
eaeeecb
commit 4ff66d3
Showing
10 changed files
with
94 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...aven-plugin/src/test/java/org/technologybrewery/habushu/PythonVersionManagementSteps.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package org.technologybrewery.habushu; | ||
|
||
import io.cucumber.java.en.Given; | ||
import io.cucumber.java.en.Then; | ||
|
||
public class PythonVersionManagementSteps { | ||
|
||
@Given("no explicitly specified Python version is provided") | ||
public void no_explicitly_specified_python_version_is_provided() { | ||
// Write code here that turns the phrase above into concrete actions | ||
throw new io.cucumber.java.PendingException(); | ||
} | ||
|
||
@Given("an explicitly specified Python version is configured") | ||
public void an_explicitly_specified_python_version_is_configured() { | ||
// Write code here that turns the phrase above into concrete actions | ||
throw new io.cucumber.java.PendingException(); | ||
} | ||
|
||
@Then("Habushu's default version of Python is leveraged") | ||
public void habushu_s_default_version_of_python_is_leveraged() { | ||
// Write code here that turns the phrase above into concrete actions | ||
throw new io.cucumber.java.PendingException(); | ||
} | ||
@Then("the configured version is leveraged") | ||
public void the_configured_version_is_leveraged() { | ||
// Write code here that turns the phrase above into concrete actions | ||
throw new io.cucumber.java.PendingException(); | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
habushu-maven-plugin/src/test/resources/specifications/python-version-management.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Feature: Python version management via Habushu | ||
|
||
# Scenario: By default, Habushu's preferred Python version is leveraged | ||
# Given no explicitly specified Python version is provided | ||
# When Habushu executes | ||
# Then Habushu's default version of Python is leveraged | ||
# | ||
# Scenario: Habushu's default version of Python is overridden with a customized version | ||
# Given an explicitly specified Python version is configured | ||
# When Habushu executes | ||
# Then the configured version is leveraged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ authors = ["Eric Konieczny <[email protected]>"] | |
license = "MIT License" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
python = "^3.11" | ||
habushu-mixology = {path = "../habushu-mixology", develop = true} | ||
|
||
[tool.poetry.dev-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ authors = ["Eric Konieczny <[email protected]>"] | |
license = "MIT License" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
python = "^3.11" | ||
krausening = "17" | ||
cryptography = "^41.0.3" | ||
uvicorn = {version = "^0.18.0", extras = ["standard"]} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters