This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from MarketSquare/support_python_312
Support python 312
- Loading branch information
Showing
17 changed files
with
1,017 additions
and
861 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM python:3.12-slim-bookworm | ||
|
||
RUN pip install --upgrade pip | ||
|
||
# poetry install into the default Python interpreter since we're in a container | ||
RUN pip install poetry | ||
RUN poetry config virtualenvs.create false | ||
RUN poetry config virtualenvs.in-project false | ||
|
||
# Copy the pyproject.toml and poetry.lock file to be able to install dependencies using poetry | ||
COPY pyproject.toml pyproject.toml | ||
COPY poetry.lock poetry.lock | ||
|
||
EXPOSE 8888 | ||
ENTRYPOINT /bin/sh |
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,34 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile | ||
{ | ||
"name": "Local Dockerfile", | ||
"build": { | ||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
"context": "..", | ||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. | ||
"dockerfile": "./Dockerfile", | ||
"args": { | ||
} | ||
}, | ||
"postCreateCommand": "poetry install", | ||
// Configure tool-specific properties. | ||
"customizations": { | ||
"vscode": { | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"robotcode.robot.variables": { | ||
"ROOT": "/workspaces/robotframework-openapidriver" | ||
} | ||
}, | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"charliermarsh.ruff", | ||
"d-biehl.robotcode", | ||
"ms-azuretools.vscode-docker", | ||
"Gruntfuggly.todo-tree", | ||
"shardulm94.trailing-spaces" | ||
] | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "RobotCode: Default", | ||
"type": "robotcode", | ||
"request": "launch", | ||
"purpose": "default", | ||
"presentation": { | ||
"hidden": true | ||
}, | ||
"attachPython": true, | ||
"pythonConfiguration": "RobotCode: Python", | ||
"args": [ | ||
"--variable=ROOT:${workspaceFolder}", | ||
"--outputdir=${workspaceFolder}/tests/logs", | ||
"--loglevel=TRACE:INFO" | ||
] | ||
}, | ||
{ | ||
"name": "RobotCode: Python", | ||
"type": "python", | ||
"request": "attach", | ||
"presentation": { | ||
"hidden": true | ||
}, | ||
"justMyCode": false | ||
} | ||
] | ||
} |
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,5 @@ | ||
{ | ||
"robotcode.robot.variables": { | ||
"ROOT": "/workspaces/robotframework-openapidriver" | ||
} | ||
} |
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,9 @@ | ||
{ | ||
"recommendations": [ | ||
"ms-vscode-remote.remote-containers", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"charliermarsh.ruff", | ||
"d-biehl.robotcode" | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name="robotframework-openapidriver" | ||
version = "4.2.1" | ||
version = "4.3.0" | ||
description = "A library for contract-testing OpenAPI / Swagger APIs." | ||
license = "Apache-2.0" | ||
authors = ["Robin Mackaij <[email protected]>"] | ||
|
@@ -24,7 +24,7 @@ include = ["*.libspec"] | |
[tool.poetry.dependencies] | ||
python = "^3.8" | ||
robotframework-datadriver = ">=1.6.1" | ||
robotframework-openapi-libcore = "^1.10.1" | ||
robotframework-openapi-libcore = "^1.11.0" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
fastapi = ">=0.95.0" | ||
|
@@ -96,9 +96,11 @@ py_version=38 | |
|
||
[tool.ruff] | ||
line-length = 120 | ||
select = ["E", "F", "PL"] | ||
src = ["src/OpenApiDriver"] | ||
|
||
[tool.ruff.lint] | ||
select = ["E", "F", "PL"] | ||
|
||
[tool.pylint.'MESSAGES CONTROL'] | ||
disable = ["logging-fstring-interpolation", "missing-class-docstring"] | ||
|
||
|
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
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