mirror of
https://github.com/docling-project/docling-parse.git
synced 2026-05-17 13:10:49 +00:00
@@ -15,11 +15,11 @@ jobs:
|
||||
outputs:
|
||||
TARGET_TAG_V: ${{ steps.version_check.outputs.TRGT_VERSION }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0 # for fetching tags, required for semantic-release
|
||||
- name: Install uv and set the python version
|
||||
uses: astral-sh/setup-uv@v5
|
||||
uses: astral-sh/setup-uv@v6
|
||||
- name: Check version of potential release
|
||||
id: version_check
|
||||
run: |
|
||||
@@ -40,12 +40,12 @@ jobs:
|
||||
with:
|
||||
app-id: ${{ vars.CI_APP_ID }}
|
||||
private-key: ${{ secrets.CI_PRIVATE_KEY }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
token: ${{ steps.app-token.outputs.token }}
|
||||
fetch-depth: 0 # for fetching tags, required for semantic-release
|
||||
- name: Install uv and set the python version
|
||||
uses: astral-sh/setup-uv@v5
|
||||
uses: astral-sh/setup-uv@v6
|
||||
- name: Run release script
|
||||
env:
|
||||
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||
|
||||
@@ -9,23 +9,26 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
|
||||
# python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
python-version: ["3.14-rc2"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install uv and set the python version
|
||||
uses: astral-sh/setup-uv@v5
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Sync and install with uv
|
||||
run: |
|
||||
uv sync --frozen --all-extras
|
||||
uv venv
|
||||
uv pip install --no-deps -e .
|
||||
# uv sync --frozen --all-extras
|
||||
ls -l
|
||||
ls -l docling_parse
|
||||
- name: Run styling check
|
||||
run: |
|
||||
uv run pre-commit run --all-files
|
||||
- name: Testing
|
||||
run: |
|
||||
uv run pytest -v tests
|
||||
# - name: Run styling check
|
||||
# run: |
|
||||
# uv run pre-commit run --all-files
|
||||
# - name: Testing
|
||||
# run: |
|
||||
# uv run pytest -v tests
|
||||
- name: Build with uv
|
||||
run: uv build
|
||||
|
||||
@@ -5,9 +5,9 @@ on:
|
||||
# run-checks:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - uses: actions/checkout@v5
|
||||
# - name: Install uv and python
|
||||
# uses: astral-sh/setup-uv@v5
|
||||
# uses: astral-sh/setup-uv@v6
|
||||
# - name: Install podman
|
||||
# run: sudo apt-get update && sudo apt-get install -y podman
|
||||
# - name: Run build in docker
|
||||
@@ -18,9 +18,9 @@ jobs:
|
||||
run-checks:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
- name: Setup uv with python 3.11
|
||||
uses: astral-sh/setup-uv@v5
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
python-version: 3.11
|
||||
- name: Install podman
|
||||
|
||||
@@ -16,9 +16,9 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- name: Install uv and set the python version
|
||||
uses: astral-sh/setup-uv@v5
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Build sdist
|
||||
@@ -40,8 +40,8 @@ jobs:
|
||||
# list of github vm: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
|
||||
# python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-rc2"]
|
||||
python-version: ["3.14-rc2"]
|
||||
os:
|
||||
- name: "ubuntu-24.04"
|
||||
platform: "linux"
|
||||
@@ -67,10 +67,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Install uv and set the python version
|
||||
uses: astral-sh/setup-uv@v5
|
||||
uses: astral-sh/setup-uv@v6
|
||||
id: py
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
+2
-2
@@ -26,8 +26,8 @@ requires-python = ">=3.9"
|
||||
dependencies = [
|
||||
"tabulate>=0.9.0,<1.0.0",
|
||||
"pillow>=10.0.0,<12.0.0",
|
||||
"pydantic>=2.0.0",
|
||||
"docling-core>=2.44.1",
|
||||
"pydantic>=2.11.7",
|
||||
"docling-core>=2.45.0",
|
||||
"pywin32>=305; sys_platform == 'win32'",
|
||||
]
|
||||
[project.urls]
|
||||
|
||||
Reference in New Issue
Block a user