-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Make a v2.0 release? #442
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
Comments
First point: not happy, because of the flags. I'll have free time next week and am seriously planning to finish that for good, as discussed in a few other issues here and in my fork :) Now that the few other big parts are already in, like the numpy c api, base/owner support etc, this could be the last big incompatible change for numpy module I think. |
@aldanor: ack, then let's wait for your set of flag changes. |
Perhaps some sort of 2.0.0-RC1 release, to let people sticking with stable know it's coming which might prompt them to try it out before the final release (and thus gain some bug reports for unanticipated problems)? |
@jagerman: +1 for RC or some kind of pre-release version. @wjakob: BTW There's an out-of-date v2.0 milestone over here. There was a brief discussion about splitting up the Advanced documentation. This may be nice to have ready for v2.0 since the Advanced topics page has become a little frightening for first time visitors. I'm not sure if anyone has already been working on this? If not, I can take a stab at it and reorganize it as previously discussed (1. One other thing I wanted to propose was making |
Oh, yes, rearranging the docs would be a very nice thing to have for 2.0! I thought about it briefly, but don't really have the time to work on it at the moment. I do think it reached the point a while ago where it's not only daunting for first-time users, but is also not easy for repeat users to quickly find things via the menu. Perhaps moving Advanced to a 3-level organization would work? E.g. keep "Advanced topics" but only have 4-5 general categories within it, with sub-items within those? |
Yeah, a little bit of nesting would be good for navigation. I can set up a readthedocs.org fork for a pull request. That way everyone can see the changes properly (in html instead of the raw .rst files) and comment before committing to anything. |
At this point any kind of hierarchical organization will be better than the crazy
This sounds good to me. One annoying gotcha that might be nice to address at the same time is that |
@aldanor: any updates on the flags rework? I'd be happy to comment on partial patches. |
@wjakob yep WIP, will keep you posted, the other two seemingly easy PRs took a bit longer than I thought :) The numpy scalars got merged in, but the typed iterators I'll probably finish later, after the flags are done. |
Any provisional ETA for the v2.0 release folks? Cheers, |
Right now Debian ships version 1.8.1, but I could push version 2.0 if the latter is to be released quite soon. |
@ghisvail -- I'd expect 2.0 to be out in time for stretch. Speaking as a debian user, it would also be much nicer to have 2.0 in stretch than 1.8.1. |
@ghisvail: That's awesome -- I didn't know pybind11 even had a Debian package ;). By when do you need us to push v2.0 for it to make stretch? |
I didn't either: it's really new (first uploaded to debian unstable ~3 weeks ago). |
@wjakob - the hard freeze for stretch (beyond which packages are only allowed updated versions with justification, e.g. for security updates and similar) is 2016-02-05, but the upload needs to happen at least 10 days before that (a package needs 10 days before transitioning to testing, i.e. stretch). So, basically, the last possible day is around 2016-01-25. (All the gory details on the freeze are at https://lists.debian.org/debian-devel-announce/2016/11/msg00002.html). |
Ok, we'll definitely make that deadline. |
I should have probably given a heads-up here first. There was not much to say though, the packaging was pretty much effortless for once.
I would also need some time to test the update, roll it out and find a sponsor for uploading it. So please consider being (much) more conservative on this deadline. |
I'd like to push it out this year. Already a heads up: there were some changes in the build system due to the merge of #506. In particular, pybind11 now installs .cmake files so that it can be easily autodetected by cmake, and the debian package will need to install those files to the right places. Other than that, it should be pretty much identical (maybe one or two new header files). |
@ghisvail one other change needed for a 2.0 deb: the test target changed to "pytest", which is going to need an override in |
Why not keep |
There is a really annoying, long-standing bug in cmake that the As a result, authors stopped using
|
Scrap that last bit: even if you aren't under
|
So, you are essentially trading
When you say "authors", you mean "you guys" right? In my experience dealing with various CMake-based projects, you are the first willing to explicitly bypass FYI, the issue your referred to has been transfered to the new issue tracker. It looks like the interest for it somewhat died down, given the lack of additional discussion. |
The extra CTest is not well suited for running Python tests and we really don't want to reinvent Python testing infrastructure in CTest, hence using off-the-shelf pytest. The only way to use the |
I see. Thanks for sharing the details. |
|
Yeah, I think it might be good to have |
I've pushed out a release candidate for v2.0.0: https://pypi.python.org/pypi/pybind11 (One minor annoyance: I called the release It's a truly epic release -- typing up the changelog took me the better part of an evening ;). Please let me know in case I missed something: http://pybind11.readthedocs.io/en/master/changelog.html |
Thanks for the heads-up. Indeed, the changelog is impressive. |
That's quite a list. I can't think of any missing items that I didn't see there. |
All good for the Debian packaging refresh. It will be pushed soon. |
@ghisvail: we'll provide a final stable release in the next 1-2 weeks (with minor changes at most). Ideally, that would be the version which lands in debian stable. |
@ghisvail: I just pushed out the final version 2.0.0. It would be great if this lands in Debian (there was a serious issue in the release candidate that is addressed by this new version). I'm closing this ticket :) |
The next major version of pybind11 has cooking for quite a while, and now I think it has reached a good balance of brand-new features and general usability improvements.
This ticket is to track what's left to do and make sure that nothing is forgotten. The following items come to mind (please let me know if I missed something):
py::array
flags rework (did not make it for v2.0)The text was updated successfully, but these errors were encountered: