-
Notifications
You must be signed in to change notification settings - Fork 30
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
Release manager needed for pandas 0.24.3 #166
Comments
Most of this is semi-automated in https://github.com/pandas-dev/pandas-release (using docker for the local stuff, and making pull requests to GitHub). |
How realistic do you think is it to have someone who is a noob attempt this? |
If you're motivated to do it, you should totally do it. It'll require a bit of time to understand things (like, building coda packages...), but there is nothing challenging that you can end up saying "I tried, but I wasn't good enough". :) And of course you won't be alone, any question we're here to help. |
@Aya-S if you have some time in the next days, I'm happy to do the release together. I'll have to learn as much as you about it, but I'm sure we'll manage. :) Let me know if you're interested. |
The PR that is needed for the 0.24.3 release (the fix to enable pandas to be installed from source on python 2.7) is pandas-dev/pandas#28511 |
@datapythonista this sounds like a very good deal! I couldn't bring myself to feel confident enough to attempt this at first. |
That's great! First thing would be to get a branch with the version to release. That is basically branching from 0.24.2 and adding the commit from pandas-dev/pandas#28511 (which is not yet merged). And after that, create a new release on GitHub, create packages for pip and conda, and update the website/documentation. But we'll practice a bit before we do it for real. Tom sent us the instructions to do the release: https://github.com/pandas-dev/pandas-release Do you want to have a look at the document, try to do what's in there, and discuss the questions you have? There are things like pushing to git, uploading the documentation... that you won't be able to do. That's good news, because you can test as much as you want, that you won't be able to break anything. :) Just skip these steps when you find them. Does this make sense? |
ok, great. Then I'll start with the document and let you know how things go! |
@datapythonista @TomAugspurger
` and was starting to follow the instructions but the makefile I have now, which is the following, doesn't match the instructions, seems like the checkout is not right? any idea what might be causing the discrepancy? .PHONY : develop build clean clean_pyc tseries doc clean: clean_pyc: build: clean_pyc lint-diff: develop: build doc: |
The Makefile you need to use is not the pandas one, but the one in the repo for the pandas release: https://github.com/pandas-dev/pandas-release/blob/master/Makefile |
Makes sense (y) will get the right one.
…On Sun, Sep 22, 2019, 12:49 AM Marc Garcia ***@***.***> wrote:
The Makefile you need to use is not the pandas one, but the one in the
repo for the pandas release:
https://github.com/pandas-dev/pandas-release/blob/master/Makefile
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#166?email_source=notifications&email_token=ABUSU7UXM6AWBL6IF5HU7H3QK2QIJA5CNFSM4IVZNKE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7I25VI#issuecomment-533835477>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUSU7VGBXZEFCIY435OHO3QK2QIJANCNFSM4IVZNKEQ>
.
|
Hello @datapythonista !
|
In git all repos are the same technically speaking, so you can do that with your fork to test is everything works. But I'd move forward and check more the packaging part, I think that's the tricky part of the process, more than anything else. What do you think? |
I'm currently at: make docker-image docker-doc |
I don't know much about docker, but I don't think that should take more than some minutes. @TomAugspurger do you know if it's normal that it takes time that step, or what can be the problem? Thanks @Aya-S for working on this, sounds really promising, I think we'll have a new pandas release soon. :) |
fingers crossed :D ! |
The docker step can take a while. We install latex for the pdf build which is a big download.
… On Sep 24, 2019, at 17:17, Aya Salama ***@***.***> wrote:
I don't know much about docker, but I don't think that should take more than some minutes. @TomAugspurger do you know if it's normal that it takes time that step, or what can be the problem?
Thanks @Aya-S for working on this, sounds really promising, I think we'll have a new pandas release soon. :)
fingers crossed :D !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hey guys! understandably, I can't execute created a dummy release on my fork at:https://github.com/Aya-S/pandas/releases/tag/v0.24.3 now on the next step:
I'm still to resolve it |
What version of conda and conda-smithy do you have installed? |
Conda: 4.7.12
Conda-smithy: 2.3.3
…On Thu, Sep 26, 2019, 1:25 PM Joris Van den Bossche < ***@***.***> wrote:
What version of conda and conda-smithy do you have installed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#166?email_source=notifications&email_token=ABUSU7WCMHQH53KOEIOIIK3QLSL3NA5CNFSM4IVZNKE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7VHUEY#issuecomment-535460371>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUSU7SER7FKTJYFOJS2MY3QLSL3NANCNFSM4IVZNKEQ>
.
|
That seems an old release of conda-smithy, they are currently at 3.4.8 (https://github.com/conda-forge/conda-smithy/releases), so I would try to upgrade that, and see if that solves the problem. |
you're right, that's very weird indeed because my first instinct was to do a conda update and I thought i had the latest version. thanks, will make sure I have the latest version |
If |
I didn't create a conda env using the environment.yml file actually |
Feel free to add it to the instructions. |
Yup, let me do that.
There is a typo in the environment.yml file will edit it as well.
…On Thu, Sep 26, 2019, 4:08 PM Marc Garcia ***@***.***> wrote:
Feel free to add it to the instructions. conda env create from the root
of the pandas-release repo should create the environment with the
dependencies needed for the release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#166?email_source=notifications&email_token=ABUSU7RQJTE4NGDIW2NZA6LQLS64JA5CNFSM4IVZNKE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7VWA5Y#issuecomment-535519351>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUSU7QHPHWIMBSEAMZMDXLQLS64JANCNFSM4IVZNKEQ>
.
|
So, after using the conda env based on environment.yml things worked fine (Y) now i'm at the step that says
Should I actually do that or leave this for now until we do some further testing on the artefacts of the build? |
Do you have the packages built then? If that's the case, I think we're ready to start again for real when the PR we want to release is merged. Or am I missing something? |
well, I am definitely missing something. and surly enough, upon checking the scripts for both rules no building seems to be taking place, as far as I could tell. as it seems, I need to start PRs for the building to start on a remote server? would be great to get some clarification on this :) @TomAugspurger |
The only package built locally is the sdist. The binaries (wheels and conda packages) are built on CI services. |
OK great, this makes sense. Thanks @TomAugspurger. |
Yep, that sounds about right.
I *suspect* that we'll want a pandas maintainer to build the sdist, since
only we'll be able to upload
things to GitHub and push to master.
After that (push-tag), you'll be able to pick things up again.
…On Sun, Sep 29, 2019 at 5:37 AM Aya Salama ***@***.***> wrote:
OK great, this makes sense. Thanks @TomAugspurger
<https://github.com/TomAugspurger>.
I put the built sdist on a dummy release on my fork:
https://github.com/Aya-S/pandas/releases/tag/v0.24.3.
Can you confirm that there is nothing more to do at this point until the
branch is ready for the actual build?
what I did was that I executed the commands till make wheels
skipping make push-tag and this block
git checkout -b <TAG>.x
git push upstream <TAG>.x
git checkout master
git commit --allow-empty -m "Start <NEXT_TAG>"
git tag -a v<NEXT_TAG>.dev0 -m 'DEV: Start <NEXT_TAG> cycle' git push
upstream master --follow-tags`
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#166?email_source=notifications&email_token=AAKAOIXVXTILCLN4D35DOODQMCAOJA5CNFSM4IVZNKE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD73QEJA#issuecomment-536281636>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKAOIUWAKQQPSMFIB4TK33QMCAOJANCNFSM4IVZNKEQ>
.
|
when the branch is ready, I can build the sdist(tar) for someone with the needed permission to upload. |
The next version of pandas will be
0.25.2
, but we'll release another version of0.24
, the0.24.3
sincepip install pandas
may fail in Python 2. Thepandas 0.24
series is the last compatible with Python 2, but numpy released a new Python 2 compatible version, that can be automatically installed withpip install pandas
, and that is not compatible withpandas 0.24
.The proposed solution is to release a new version 0.24.3, with the only change respect to 0.24.2 that requires numpy < 1.17.
See the original issue here: pandas-dev/pandas#27435
Making the change to
setup.py
is trivial, but releasing a new pandas version not as much (never did it myself). Most of the work will be in understanding the process, and also on building packages (for pip and for conda). Couple of the steps will require the right permissions (access to the server where we have the documentation, and commit rights on the pandas git repo, but someone with those permissions can take care of those steps.Those are the notes from the meeting where this was discussed:
pip install pandas
works when there’s a binary available.The text was updated successfully, but these errors were encountered: