Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ARXIVCE-2542] use new preflight and zzrm in tex2pdf, change internal wiring #65

Merged
merged 40 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c6587ef
WIP use new zzrm and new preflight in tex2pdf
norbusan Sep 3, 2024
a0ffc72
preflight: allow MainProcessSpec.compiler to be None
norbusan Sep 5, 2024
b764809
Fix python warning
norbusan Sep 5, 2024
a2f23cd
Add zerozeroreadme to tex2pdf deps, update poetry.lock
norbusan Sep 5, 2024
3ae117d
tex2pdf: switch to zerozeroreadme
norbusan Sep 5, 2024
3b2e48b
pydocstyle: be more relaxed what to accept
norbusan Sep 5, 2024
bba6471
more work
norbusan Sep 7, 2024
44bf285
Add auto_detect parameter to convert API endpoint and pass it to Conv…
norbusan Sep 7, 2024
b5dbf79
preflight att tex_compiler property
norbusan Sep 10, 2024
6a08a81
Use current development branch in pyproject.toml
norbusan Sep 10, 2024
b9847cc
preflight: introduce to_json method, use it
norbusan Sep 10, 2024
cac84ba
tex-inspection: drop unused code and tests
norbusan Sep 10, 2024
02831e0
tex_inspection: ruffify code, add to pre-commit check list
norbusan Sep 10, 2024
7e5b7eb
tex2pdf: use preflight/zzrm
norbusan Sep 10, 2024
2e31a55
Work on unittests
norbusan Sep 10, 2024
5036e47
zzrm: ensure assembly files have .pdf extension for .tex sources
norbusan Sep 11, 2024
59c04a2
tex2pdf: bug fixes, processing logic
norbusan Sep 11, 2024
8f6da14
tex2pdf: fix unittests
norbusan Sep 11, 2024
c263a6e
tex2pdf pytest: allow running against pre-started docker container
norbusan Sep 11, 2024
bd9e714
add tex2pdf/bin/__init__.py for pytest imports
norbusan Sep 11, 2024
79216d0
Update poetry.lock files according to current state of branch
norbusan Sep 11, 2024
43bff99
tex2pdf: proper exception handling
norbusan Sep 12, 2024
ec3cf2b
preflight-parser: switch to pydantic1
norbusan Sep 12, 2024
59e071b
zerozeroreadme: switch to pydantic1
norbusan Sep 12, 2024
9b6ae61
tex2pdf: switch to pydantic1
norbusan Sep 12, 2024
e946a14
tex2pdf: fix docker test when alternative port is used
norbusan Sep 13, 2024
86885c3
all: switch back to move the current development branch in pyproject.…
norbusan Sep 13, 2024
cda2ca1
Update some versions and poetry.lock
norbusan Sep 13, 2024
eeb2327
More pyproject version alignments.
norbusan Sep 13, 2024
b117ee8
Sync poetry.lock changes
norbusan Sep 13, 2024
86f194d
adjust .gitignore
norbusan Sep 13, 2024
e5c5c03
tex2pdf: Move preflight before ZZRM complete check
norbusan Sep 17, 2024
60c51a1
Add test for preflight run
norbusan Sep 18, 2024
e7fbd50
Fix missing compiler component in process
norbusan Sep 19, 2024
097b4cc
preflight: correctly use documentclass/bye for toplevel file detection
norbusan Sep 24, 2024
f2fc82c
add unit-test for documentclass/bye tests
norbusan Sep 24, 2024
06ebbd6
Fix documentclass and begin{document} in separate file
norbusan Sep 26, 2024
c5b5266
Don't force \bye being followed by anything, add unittest for it
norbusan Sep 26, 2024
3ba5eed
Simplify strip_to_basename function
norbusan Sep 26, 2024
8b34e85
rework submit_tarball, use urllib.parse
norbusan Sep 26, 2024
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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
Expand Down Expand Up @@ -159,6 +159,9 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

# VSCode
.vscode/

# Emacs backups
*~
\#*
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
files: preflight_parser|zerozeroreadme
files: preflight_parser|zerozeroreadme|tex_inspection

default_language_version:
python: python3.11
Expand Down
108 changes: 54 additions & 54 deletions pdf_profile/poetry.lock

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

8 changes: 4 additions & 4 deletions pdf_profile/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ python = "^3.11"
pikepdf = "^8.7.1"
reportlab = "^4.0.7"
ruamel-yaml = "^0.18.5"
pillow = "^10.2.0"
pymupdf = "^1.24.9"
pillow = "^10.4.0"
pymupdf = "^1.24.10"
pdf2image = "^1.17.0"
click = "^8.1.7"
dictdiffer = "^0.9.0"
levenshtein = "^0.25.0"

[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
pylint = "^3.2.6"
pytest = "^8.3.3"
pylint = "^3.2.7"
mypy = "*"
mypy-extensions = "*"

Expand Down
Loading
Loading