Skip to content

Commit

Permalink
Merge branch 'main' into dev/add-fontfile3-parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterStaar-IBM committed Jan 27, 2025
2 parents fea86eb + 0921cb6 commit 11d93a1
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
code-checks:
uses: ./.github/workflows/checks.yml
pre-release-check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
TARGET_TAG_V: ${{ steps.version_check.outputs.TRGT_VERSION }}
steps:
Expand All @@ -31,7 +31,7 @@ jobs:
needs: [code-checks, pre-release-check]
if: needs.pre-release-check.outputs.TARGET_TAG_V != ''
environment: auto-release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
concurrency: release
steps:
- uses: actions/create-github-app-token@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:

jobs:
run-checks:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build_sdist:
name: Build sdist artifacts
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

os:
- name: "ubuntu-latest"
- name: "ubuntu-22.04"
platform: "linux"
platform_id: "manylinux_x86_64"

Expand Down Expand Up @@ -202,13 +202,13 @@ jobs:
cp wheelhouse/*.whl ./dist/
- name: Set up QEMU [linux]
if: matrix.os.name == 'ubuntu-latest'
if: startsWith(matrix.os.name, 'ubuntu')
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Build wheels [linux]
if: matrix.os.name == 'ubuntu-latest'
if: startsWith(matrix.os.name, 'ubuntu')
env:
# CIBW_BUILD: ${{ env.python_cp_version }}-${{ matrix.os.platform_id }}
CIBW_ARCHS: auto x86_64 aarch64
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [v3.1.1](https://github.com/DS4SD/docling-parse/releases/tag/v3.1.1) - 2025-01-21

### Fix

* Move autoflake to dev dependencies ([#86](https://github.com/DS4SD/docling-parse/issues/86)) ([`eed5080`](https://github.com/DS4SD/docling-parse/commit/eed50805ebb00a9fdf48bb99caf5f38d4d9959f7))

## [v3.1.0](https://github.com/DS4SD/docling-parse/releases/tag/v3.1.0) - 2025-01-17

### Feature
Expand Down
16 changes: 14 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "docling-parse"
version = "3.1.0"
version = "3.1.1"
description = "Simple package to extract text with coordinates from programmatic PDFs"
authors = ["Peter Staar <[email protected]>"]
maintainers = [
Expand Down Expand Up @@ -50,7 +50,6 @@ build = "build.py"
python = "^3.9"
tabulate = ">=0.9.0,<1.0.0"
pywin32 = { version = ">=305", markers = "sys_platform == 'win32'" }
autoflake = "^2.3.1"
pillow = "^10.4.0"
pydantic = "^2.10.5"
docling-core = "^2.14.0"
Expand All @@ -65,6 +64,7 @@ mypy = "^1.13.0"
tqdm = "^4.67.0"
boto = "^2.49.0"
boto3 = "^1.35.67"
autoflake = "^2.3.1"

[tool.poetry.group.build.dependencies]
cibuildwheel = "^2.19.2"
Expand All @@ -74,9 +74,6 @@ delocate = "^0.11.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.2"

[tool.poetry.scripts]
docling-parse = "docling_parse.run:main"

[build-system]
requires = ["poetry-core", "pybind11>=2.13.1"]
build-backend = "poetry.core.masonry.api"
Expand Down Expand Up @@ -117,7 +114,7 @@ python_version = "3.9"
[[tool.mypy.overrides]]
module = [
"tabulate.*",
"botocore.*",
"botocore.*",
"boto3.*",
]
ignore_missing_imports = true
Expand Down

0 comments on commit 11d93a1

Please sign in to comment.