-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Update CONTRIBUTORS_QUICK_START.rst #19042
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
Conversation
I Oyinkansola Awosan, an Outreachy applicant for the December to March cohort. I noticed there was an error in the second block of code under the "Pyenv and setting up virtual-env" part of the guide. There was a letter 's' that was causing problems in the 'checking required packages' command. I have corrected the error. This way other people who want to contribute to Apache won't face this issue I faced. Thank you. :)
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
I am Oyinkansola Awosan, an Outreachy applicant for the December to March round. This commit is to change the second block of code for 'Checking the required packages' under the 'Pyenv and setting up virtual-env' section. The present block of code returns various errors when run, but the new proposed block of code runs smoothly without errors and would help contributors set up easily when they want to contribute to Apache Airflow. Thank you.
ephraimbuddy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other places you should update too are:
Lines 276 to 277 in 1571f80
echo " sudo apt install build-essentials python3.6-dev python3.7-dev python3.8-dev python-dev openssl \\" echo " sqlite sqlite-dev default-libmysqlclient-dev libmysqld-dev postgresql" Lines 10 to 11 in c747bce
sudo apt install build-essentials python3.6-dev python3.7-dev python-dev openssl \ sqlite sqlite-dev default-libmysqlclient-dev libmysqld-dev postgresq
I am Oyinkansola Awosan, an Outreachy applicant for the December - March round. This commit takes out some unnecessary parts in the second block of code under the 'Pyenv and setting up virtual-env' section. This update will make setting up easier and smoother for contributors. Thank you!
Yeah - would be nice to update those other places too - they give people some guldelines if their installation fails, so it's good if those guidelines are are correct :D |
|
@potiuk @ephraimbuddy @uranusjr |
Follow the links I posted in my comment above. Locate it and change it too |
I have done that @ephraimbuddy |
Sorry, I think I got you confused. |
Yeah. Agree those are better together in a single PR |
|
I think I have done that now @potiuk and @ephraimbuddy . Please take a look and let me know if there is any way I can make this better. Thank you! :) |
INSTALL
Outdated
| sudo apt install build-essentials python3.6-dev python3.7-dev python-dev openssl \ | ||
| sqlite sqlite-dev default-libmysqlclient-dev libmysqld-dev postgresq | ||
| sudo apt install openssl \ | ||
| sqlite default-libmysqlclient-dev libmysqld-dev postgresql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need build-essential and libsqlite3-dev here.
Apart from the contributors quick start doc. We need this here and also in breeze.
cc: @uranusjr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we do. The quick start does not need them because they are installed by a previous command, but that's not the case here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add python3-dev as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ephraimbuddy I did not remove libsqlite3-dev
Do you want me to add it somewhere in the code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ephraimbuddy Sorry, but this change is not clear. Both strips of code you mentioned in your last comment seem to be the same or am I missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I meant libmysqld-dev instead of libmysqlclient-dev.
The change should be:
sudo apt install build-essential python3-dev libsqlite3-dev openssl \
sqlite default-libmysqlclient-dev libmysqlclient-dev postgresql
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ephraimbuddy Alright, I was not aware of this before. Should this particular change take effect in all three files or just .breeze and INSTALL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just breeze and install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've done that now @ephraimbuddy
Please check it out and let me know. Thank you for your patience and help.
|
Hello @ephraimbuddy @uranusjr @potiuk I think I have carried out these changes now. Please take a look at my last commit and let me know. |
|
The PR is likely ready to be merged. No tests are needed as no important environment files, nor python files were modified by it. However, committers might decide that full test matrix is needed and add the 'full tests needed' label. Then you should rebase it to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
|
Awesome work, congrats on your first merged pull request! |
|
🎉 🎉 🎉 🎉 🎉 🎉 |
|
Thank you so much @potiuk , @ephraimbuddy , @uranusjr Beyond excited about this and looking forward to doing more. 💯 |
I am Oyinkansola Awosan, an Outreachy applicant for the December to March cohort. I noticed there was an error in the second block of code under the "Pyenv and setting up virtual-env" part of the guide. There was a letter 's' that was causing problems in the 'checking required packages' command.
I have corrected the error. This way other people who want to contribute to Apache won't face this issue I faced.
Thank you. :)
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.