diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a3e3c7fe2..3cd5088289 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.16.17-dev1 + +### Enhancements + +### Features + +### Fixes + ## 0.16.16 ### Enhancements @@ -8,8 +16,7 @@ ### Fixes - **Add auto-download for NLTK for Python Enviroment** When user import tokenize, It will automatic download nltk data from `tokenize.py` file. Added `AUTO_DOWNLOAD_NLTK` flag in `tokenize.py` to download `NLTK_DATA`. - **Correctly patch pdfminer to avoid PDF repair**. The patch applied to pdfminer's parser caused it to occasionally split tokens in content streams, throwing `PDFSyntaxError`. Repairing these PDFs sometimes failed (since they were not actually invalid) resulting in unnecessary OCR fallback. - -* **Drop usage of ndjson dependency** +- **Drop usage of ndjson dependency** ## 0.16.15 ### Enhancements diff --git a/unstructured/__version__.py b/unstructured/__version__.py index 319704334e..48ac8bc24b 100644 --- a/unstructured/__version__.py +++ b/unstructured/__version__.py @@ -1 +1 @@ -__version__ = "0.16.16" # pragma: no cover +__version__ = "0.16.17-dev1" # pragma: no cover diff --git a/unstructured/utils.py b/unstructured/utils.py index 523fcd4a01..6b71e0ecc5 100644 --- a/unstructured/utils.py +++ b/unstructured/utils.py @@ -293,6 +293,19 @@ def scarf_analytics(): + str(gpu_present) + "&dev=true", ) + requests.get( + "https://packages2.unstructured.io/python-telemetry?version=" + + __version__ + + "&platform=" + + platform.system() + + "&python" + + python_version + + "&arch=" + + platform.machine() + + "&gpu=" + + str(gpu_present) + + "&dev=true", + ) else: requests.get( "https://packages.unstructured.io/python-telemetry?version=" @@ -307,6 +320,19 @@ def scarf_analytics(): + str(gpu_present) + "&dev=false", ) + requests.get( + "https://packages2.unstructured.io/python-telemetry?version=" + + __version__ + + "&platform=" + + platform.system() + + "&python" + + python_version + + "&arch=" + + platform.machine() + + "&gpu=" + + str(gpu_present) + + "&dev=false", + ) except Exception: pass