-
Notifications
You must be signed in to change notification settings - Fork 82
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
Update range library to 0.10.0 #1471
Conversation
This is appreciated, as Debian has already upgraded to Range 0.10.0 |
@@ -54,6 +54,25 @@ struct is_std_array_impl<array<span_tp, span_sz>> : public true_type {}; | |||
template <class span_tp> | |||
struct is_std_array : public is_std_array_impl<remove_cv_t<span_tp>> {}; | |||
|
|||
} // namespace std | |||
|
|||
#if RANGE_V3_VERSION >= 901 |
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.
We require >= 9.0.0
. I guess you mean >= 900
?
But then we wouldn't need this #if
since platform.hpp
already checks it
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.
no this was introduced between 9.0.1 and 10.0.0
Codecov Report
@@ Coverage Diff @@
## master #1471 +/- ##
=======================================
Coverage 97.58% 97.58%
=======================================
Files 235 235
Lines 8844 8844
=======================================
Hits 8630 8630
Misses 214 214
Continue to review full report at Codecov.
|
35f9f93
to
2abd3d1
Compare
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.
Minor visual thing
@marehr you can squash the last commit and we can merge. |
Just as a note: If you advertise that you support both 0.9.x and 0.10.x you need to test both branches individually, too. (there is no stable API right now) I would suggest just moving to the new version and as soon as a stable version is released, use that. |
So you suggest dropping support for 0.9. altogether? |
Yep! The interfaces between range-v3 versions are unstable anyway (until 1.0). As long as SeqAn3 requires range-v3 (no std::ranges yet), I don't see why it needs to provide backwards compatibility. And like I said, supporting multiple versions means having to test basically all tests with both. |
5a3160d
to
be0b3a3
Compare
@rrahn done |
I would also only advertise the version we are testing. |
…rsion of ranges library to >=0.10.0 and < 0.11.0
be0b3a3
to
f3cc10b
Compare
@smehringer @h-2 @rrahn I upped the minimum requirement |
CHANGELOG.md
Outdated
@@ -45,6 +45,8 @@ If possible, provide tooling that performs the changes, e.g. a shell-script. | |||
|
|||
## API changes | |||
|
|||
* **The required version of the ranges-v3 library has increased:** We now support the versions >= 0.9.0 and < 0.11.0, |
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.
The documentation needs also an update :)
README.md
Outdated
@@ -35,7 +35,7 @@ Please see the [online documentation](https://docs.seqan.de/seqan/3-master-user/ | |||
|**compiler** | [GCC](https://gcc.gnu.org) | ≥ 7 | no other compiler is currently supported! | | |||
|**build system** | [CMake](https://cmake.org) | ≥ 3.4 | optional, but recommended | | |||
|**required libs** | [SDSL](https://github.com/xxsds/sdsl-lite) | ≥ 3 | | | |||
| | [Range-V3](https://github.com/ericniebler/range-v3) | ≥ 1.0 | | | |||
| | [Range-V3](https://github.com/ericniebler/range-v3) | ≥ 0.9.0 | | |
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.
here too
Thanks, although I don't know what @rrahn votes for. But if we want we can still add nightlies for the other version and change the requirements again I think. |
f3cc10b
to
b9dae2a
Compare
b9dae2a
to
142795a
Compare
No, please not. I don't know what you think, but I am in total favor of having as least dependencies as possible. |
Fixes #1479