Skip to content

Commit a6f8256

Browse files
authored
bump: release commit (#317)
* update github ingest outputs * CHANGELOG, test github ingest more often in CI * more changelog detail
1 parent 350c423 commit a6f8256

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

Diff for: CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.5.1-dev2
1+
## 0.5.1
22

33
### Enhancements
44

@@ -8,7 +8,7 @@
88

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

1313
## 0.5.0
1414

Diff for: test_unstructured_ingest/expected-structured-output/github-downloadify/test.html.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
}
99
},
1010
{
11-
"element_id": "d551bbfc9477547e4dce6264d8196c7b",
12-
"text": "More info available at the Github Project Page",
11+
"element_id": "4300054a3c2601f905282a7bc7199044",
12+
"text": "More info available at the \n\t\tGithub Project Page",
1313
"type": "Title",
1414
"metadata": {
1515
"page_number": 1
@@ -24,17 +24,17 @@
2424
}
2525
},
2626
{
27-
"element_id": "43f65b1c5bd47774b25c72e2f96de300",
28-
"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",
29-
"type": "UncategorizedText",
27+
"element_id": "a309823c9d508290682a198270b84bca",
28+
"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",
29+
"type": "NarrativeText",
3030
"metadata": {
3131
"page_number": 1
3232
}
3333
},
3434
{
3535
"element_id": "53a4db70c6d40ed5206711ed8a255e03",
3636
"text": "You must have Flash 10 installed to download this file.",
37-
"type": "UncategorizedText",
37+
"type": "NarrativeText",
3838
"metadata": {
3939
"page_number": 1
4040
}

Diff for: test_unstructured_ingest/test-ingest-github.sh

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
44
cd "$SCRIPT_DIR"/.. || exit 1
55

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

1214

Diff for: unstructured/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.5.1-dev2" # pragma: no cover
1+
__version__ = "0.5.1" # pragma: no cover

0 commit comments

Comments
 (0)