From db567b9712d67a3c339eec8edc2307823a837af1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Feb 2026 05:30:21 +0000 Subject: [PATCH 1/2] Initial plan From b3a38493d8850ebc7ce462f02205aab22c057b2e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Feb 2026 05:32:10 +0000 Subject: [PATCH 2/2] Update Python requirement to >=3.11 and add devcontainer config Co-authored-by: jsulopzs <46565164+jsulopzs@users.noreply.github.com> --- .devcontainer/devcontainer.json | 30 ++++++++++++++++++++++++++++++ .python-version | 2 +- pyproject.toml | 4 +++- 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..80ee7a7 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,30 @@ +{ + "name": "python-entsoe", + "image": "mcr.microsoft.com/devcontainers/python:3.11", + "features": { + "ghcr.io/devcontainers-contrib/features/uv:2": {} + }, + "customizations": { + "vscode": { + "settings": { + "python.defaultInterpreterPath": "/usr/local/bin/python", + "python.linting.enabled": true, + "python.linting.pylintEnabled": false, + "python.formatting.provider": "none", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.organizeImports": "explicit" + } + }, + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance", + "charliermarsh.ruff" + ] + } + }, + "postCreateCommand": "uv sync", + "remoteEnv": { + "ENTSOE_API_KEY": "${localEnv:ENTSOE_API_KEY}" + } +} diff --git a/.python-version b/.python-version index 24ee5b1..2c07333 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.13 +3.11 diff --git a/pyproject.toml b/pyproject.toml index 9a0a652..70989bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,13 +7,15 @@ license = "MIT" authors = [ { name = "jsulopzs", email = "jesus.lopez@datons.com" }, ] -requires-python = ">=3.13" +requires-python = ">=3.11" keywords = ["entsoe", "energy", "electricity", "api", "transparency"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering", ]