diff --git a/docs/docs/contributing/contributing-page.mdx b/docs/docs/contributing/contributing-page.mdx index d6cdd2cecfd3a..f4f3cd6400fb6 100644 --- a/docs/docs/contributing/contributing-page.mdx +++ b/docs/docs/contributing/contributing-page.mdx @@ -8,8 +8,8 @@ version: 1 ## Contributing to Superset Superset is an [Apache Software foundation](https://www.apache.org/theapacheway/index.html) project. -The core contributors (or committers) to Superset communicate primarily in the following channels (all of -which you can join): +The core contributors (or committers) to Superset communicate primarily in the following channels ( +which can be joined by anyone): - [Mailing list](https://lists.apache.org/list.html?dev@superset.apache.org) - [Apache Superset Slack community](https://join.slack.com/t/apache-superset/shared_invite/zt-16jvzmoi8-sI7jKWp~xc2zYRe~NqiY9Q) diff --git a/setup.py b/setup.py index d2835abb7de5b..c7cdd2acd2185 100644 --- a/setup.py +++ b/setup.py @@ -23,8 +23,8 @@ from setuptools import find_packages, setup BASE_DIR = os.path.abspath(os.path.dirname(__file__)) - PACKAGE_JSON = os.path.join(BASE_DIR, "superset-frontend", "package.json") + with open(PACKAGE_JSON, "r") as package_file: version_string = json.load(package_file)["version"]