Skip to content

Commit

Permalink
bump: release commit (#317)
Browse files Browse the repository at this point in the history
* update github ingest outputs

* CHANGELOG, test github ingest more often in CI

* more changelog detail
  • Loading branch information
cragwolfe authored Mar 1, 2023
1 parent 350c423 commit a6f8256
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.5.1-dev2
## 0.5.1

### Enhancements

Expand All @@ -8,7 +8,7 @@

* Fixes an error causing JavaScript to appear in the output of `partition_html` sometimes.
* Fix several issues with the `requires_dependencies` decorator, including the error message
and how it was used.
and how it was used, which had caused an error for `unstructured-ingest --github-url ...`.

## 0.5.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
}
},
{
"element_id": "d551bbfc9477547e4dce6264d8196c7b",
"text": "More info available at the Github Project Page",
"element_id": "4300054a3c2601f905282a7bc7199044",
"text": "More info available at the \n\t\tGithub Project Page",
"type": "Title",
"metadata": {
"page_number": 1
Expand All @@ -24,17 +24,17 @@
}
},
{
"element_id": "43f65b1c5bd47774b25c72e2f96de300",
"text": "File Contents\n\nWhatever you put in this text box will be downloaded and saved in the file. If you leave it blank, no file will be downloaded",
"type": "UncategorizedText",
"element_id": "a309823c9d508290682a198270b84bca",
"text": "File Contents\nWhatever you put in this text box will be downloaded and saved in the file. If you leave it blank, no file will be downloaded",
"type": "NarrativeText",
"metadata": {
"page_number": 1
}
},
{
"element_id": "53a4db70c6d40ed5206711ed8a255e03",
"text": "You must have Flash 10 installed to download this file.",
"type": "UncategorizedText",
"type": "NarrativeText",
"metadata": {
"page_number": 1
}
Expand Down
10 changes: 6 additions & 4 deletions test_unstructured_ingest/test-ingest-github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPT_DIR"/.. || exit 1

if [[ "$CI" == "true" && "$(( RANDOM % 10))" != "1" ]]; then
# NOTE(crag): proper fix is being tracked here: https://github.com/Unstructured-IO/unstructured/issues/306
echo "Skipping ingest 90% of github ingest tests to avoid rate limiting issue."
exit 0
if [[ "$CI" == "true" ]]; then
if [ "$(( RANDOM % 10))" -lt 2 ] ; then
# NOTE(crag): proper fix is being tracked here: https://github.com/Unstructured-IO/unstructured/issues/306
echo "Skipping ingest 80% of github ingest tests to avoid rate limiting issue."
exit 0
fi
fi


Expand Down
2 changes: 1 addition & 1 deletion unstructured/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.1-dev2" # pragma: no cover
__version__ = "0.5.1" # pragma: no cover

0 comments on commit a6f8256

Please sign in to comment.