diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f642fc45..18a774cc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.16.21-dev1 + +### Enhancements + +### Features + +### Fixes + ## 0.16.20 ### Enhancements diff --git a/README.md b/README.md index e9389b9cc..8fe773cd8 100644 --- a/README.md +++ b/README.md @@ -257,5 +257,4 @@ Encountered a bug? Please create a new [GitHub issue](https://github.com/Unstruc ## :chart_with_upwards_trend: Analytics -We’ve partnered with Scarf (https://scarf.sh) to collect anonymized user statistics to understand which features our community is using and how to prioritize product decision-making in the future. To learn more about how we collect and use this data, please read our [Privacy Policy](https://unstructured.io/privacy-policy). -To opt out of this data collection, you can set the environment variable `SCARF_NO_ANALYTICS=true` before running any `unstructured` commands. +This library includes a very lightweight analytics "ping" when the library is loaded, however you can opt out of this data collection by setting the environment variable `DO_NOT_TRACK=true` before executing any `unstructured` code. To learn more about how we collect and use this data, please read our [Privacy Policy](https://unstructured.io/privacy-policy). diff --git a/unstructured/__version__.py b/unstructured/__version__.py index a15f0c27f..5bfa2b15b 100644 --- a/unstructured/__version__.py +++ b/unstructured/__version__.py @@ -1 +1 @@ -__version__ = "0.16.20" # pragma: no cover +__version__ = "0.16.21-dev1" # pragma: no cover diff --git a/unstructured/utils.py b/unstructured/utils.py index 7d1cb7673..f83f8831a 100644 --- a/unstructured/utils.py +++ b/unstructured/utils.py @@ -294,20 +294,6 @@ def scarf_analytics(): + "&dev=true", timeout=10, ) - 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", - timeout=10, - ) else: requests.get( "https://packages.unstructured.io/python-telemetry?version=" @@ -323,20 +309,6 @@ def scarf_analytics(): + "&dev=false", timeout=10, ) - 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", - timeout=10, - ) except Exception: pass