Skip to content

Commit ea201a0

Browse files
committed
AS-171 tests action,18
1 parent a8e3ffe commit ea201a0

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
28+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2929

3030
steps:
3131
- uses: actions/checkout@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<br/>
55

66
[![CodeQL](https://github.com/DivinciApp/open-parse/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/DivinciApp/open-parse/actions/workflows/github-code-scanning/codeql)
7-
[![Test](https://github.com/DivinciAI/open-parse/actions/workflows/test.yml/badge.svg)](https://github.com/DivinciAI/open-parse/actions/workflows/test.yml)
7+
[![pytest](https://github.com/DivinciAI/open-parse/actions/workflows/pytest.yml/badge.svg)](https://github.com/DivinciAI/open-parse/actions/workflows/pytest.yml)
88

99
Divinci™ fork of Open-Parse 🤖🖤
1010

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ build-backend = "setuptools.build_meta"
66
name = "openparse"
77
description = "Streamlines the process of preparing documents for LLM's."
88
readme = "README.md"
9-
requires-python = ">=3.8"
9+
requires-python = ">=3.10"
1010
license = {text = "MIT"}
11-
version = "0.7.1"
12-
authors = [{name = "Sergey Filimonov", email = "[email protected]"}]
11+
version = "0.7.3"
12+
authors = [{name = "Sergey Filimonov", email = "[email protected]"}, {name = "Michael Mooring", email = "[email protected]"}]
1313
dependencies = [
1414
"PyMuPDF>=1.23.2",
1515
"pillow >= 8.3",

src/openparse/processing/markitdown_doc_parser.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22
from typing import List, Union, Tuple
33
from pathlib import Path
44
from datetime import date
5+
from typing import Literal
56
import logging
6-
try:
7-
from typing import Literal
8-
except ImportError:
9-
from typing_extensions import Literal
107

118
from markitdown import MarkItDown
129
from openparse.schemas import Node, FileMetadata, TextElement, Bbox, NodeVariant

src/tests/test_docparser_0_7_2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
import pytest
2323
from pathlib import Path
2424
from unittest.mock import patch, MagicMock
25-
from datetime import datetime, date
25+
from datetime import date
2626
import zipfile
2727
import io
2828

2929
from openparse import DocumentParser, ParsedDocument, Node
3030
from openparse.processing import BasicIngestionPipeline, NoOpIngestionPipeline
31-
from openparse.schemas import TextElement, Bbox, NodeVariant, FileMetadata
31+
from openparse.schemas import TextElement, Bbox, NodeVariant
3232

3333
@pytest.fixture
3434
def sample_pdf():

0 commit comments

Comments
 (0)