diff --git a/gpwebpay/config.py b/gpwebpay/config.py index 407573b..5a01bca 100644 --- a/gpwebpay/config.py +++ b/gpwebpay/config.py @@ -3,7 +3,7 @@ class Settings(BaseSettings): - model_config = SettingsConfigDict(env_file=".env", env_prefix='gpwebpay_') + model_config = SettingsConfigDict(env_file=".env", env_prefix='gpwebpay_', extra="ignore") currency: str = "978" # EUR deposit_flag: str = "1" diff --git a/poetry.lock b/poetry.lock index 9f0f892..80d77a2 100644 --- a/poetry.lock +++ b/poetry.lock @@ -641,5 +641,5 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] [metadata] lock-version = "2.0" -python-versions = ">=3.8,<3.12" +python-versions = ">=3.8" content-hash = "49fe5a8c9c620c619d66f02edc1a9ed6dd975655a2eb3b9a97fbbd7b888f56a2" diff --git a/pyproject.toml b/pyproject.toml index b6ce4e5..18c1fa2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "gpwebpay" -version = "0.1.4" +version = "0.1.6" description = "GPWebPay Gateway access with Python" license = "MIT" authors = ["Filipa Andrade "] @@ -9,9 +9,9 @@ readme = "README.md" repository = "https://github.com/filias/gpwebpay" [tool.poetry.dependencies] -python = ">=3.8,<3.12" -cryptography="3.4.8" -requests="2.23" +python = ">=3.8" +cryptography=">=3.4.8" +requests=">=2.23" python-dotenv = "^0.21.0" pydantic-settings = "^2.1.0"