Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: astral-sh/setup-uv@v4

- name: Set up Python
run: uv python install 3.11
run: uv python install 3.14

- name: Build package
run: uv build
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13", "3.14"]
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Set up Python
run: uv python install 3.11
run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --all-extras --dev
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,4 @@ tests/saved_responses
plans
tmp
docs/qa.md
tests/audit_results
tests/**/audit_results
2 changes: 1 addition & 1 deletion ofsc/capacity.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _convert_model_to_api_params(model: BaseModel) -> dict:
params = model.model_dump(exclude_none=True)

# Use inspection to get field type annotations
model_fields = model.model_fields
model_fields = type(model).model_fields

# Detect CsvList fields and convert them
for field_name, field_info in model_fields.items():
Expand Down
31 changes: 15 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,37 @@
[project]
name = "ofsc"
version = "2.24.1"
version = "2.24.2"
description = "Python wrapper for Oracle Field Service API"
authors = [{ name = "Borja Toron", email = "borja.toron@gmail.com" }]
requires-python = "~=3.11.0"
requires-python = ">=3.13"
readme = "README.md"
license = "MIT"
dependencies = [
"requests>=2.28.1,<3",
"pydantic>=2.6.3,<3",
"cachetools>=5.3.1,<6",
"pydantic-settings>=2.2.1,<3",
"httpx[http2]>=0.27.0,<1",
"requests>=2.32.4,<3",
"pydantic>=2.12.5,<3",
"cachetools>=5.5.0",
"pydantic-settings>=2.6.1,<3",
"httpx[http2]>=0.28.1,<1",
]

[project.urls]
Repository = "https://github.com/btoron/pyOFSC"

[dependency-groups]
dev = [
"pytest>=8.3.3,<9",
"pytest-asyncio>=0.24.0,<1",
"pytest-cov>=6.0.0,<7",
"pyarmor>=7.6.0,<8",
"Faker>=14.2.0,<15",
"openpyxl>=3.0.10,<4",
"pytest>=8.3.4",
"pytest-asyncio>=0.26.0",
"pytest-cov>=6.3.0",
"Faker>=14.2.1",
"openpyxl>=3.1.5,<4",
"pyjwt>=2.10.1,<3",
"cryptography>=44.0.0,<47",
"cryptography>=46.0.5,<47",
"pytest-env>=1.1.5,<2",
"python-dotenv>=1.0.1,<2",
"pytablewriter>=1.2.1,<2",
"pyright>=1.1.390,<2",
"pyright>=1.1.407,<2",
"pytest-xdist>=3.8.0",
"ruff>=0.9.0",
"ruff>=0.15.4",
]

[build-system]
Expand Down
Loading