Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(contribute): update compatible Python versions in local environment setup instructions #20260

Merged
merged 2 commits into from
Jun 24, 2022

Conversation

diegoauad
Copy link
Contributor

SUMMARY

At the moment, contributors are instructed to use to ensure they're using Python 3.7 or 3.8 when setting up the local development environment. However, Python 3.7 is no longer compatible with apache-superset, and the pip install fails when using this version of Python.

A quick check on setup.py confirms 3.7 is incompatible:

python_requires="~=3.8",

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Successfully installing with 3.9
3.9
Succesfsfully installing with 3.8
3.8
Unsuccessfully installing with 3.7
3.7

TESTING INSTRUCTIONS

n/a

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

CONTRIBUTING.md Outdated
@@ -413,7 +413,7 @@ For example, the image referenced above actually lives in `superset-frontend/src
Make sure your machine meets the [OS dependencies](https://superset.apache.org/docs/installation/installing-superset-from-scratch#os-dependencies) before following these steps.
You also need to install MySQL or [MariaDB](https://mariadb.com/downloads).

Ensure that you are using Python version 3.7 or 3.8, then proceed with:
Ensure that you are using Python version 3.8 or higher, then proceed with:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we only support 3.8 or 3.9 right now. Can we update this? Thank you!

Copy link
Member

@eschutho eschutho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

@eschutho eschutho merged commit bcc5140 into apache:master Jun 24, 2022
akshatsri pushed a commit to charan1314/superset that referenced this pull request Jul 19, 2022
…ent setup instructions (apache#20260)

* Remove incompatible Python 3.7 from local env setup docs

* Ensure Python 3.8 or 3.9

Co-authored-by: Diego Martin <diego.martin@indigitall.com>
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.1.0 labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/XS 🚢 2.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants