Skip to content

tests: use older pytest#145

Merged
dirk-thomas merged 1 commit intoros2:masterfrom
kyrofa:bugfix/use_older_pytest
Jul 17, 2019
Merged

tests: use older pytest#145
dirk-thomas merged 1 commit intoros2:masterfrom
kyrofa:bugfix/use_older_pytest

Conversation

@kyrofa
Copy link
Copy Markdown
Member

@kyrofa kyrofa commented Jul 17, 2019

ROS 2 tests are limited by the version of packages available in Ubuntu Bionic, not the ones available in pip. As a result, we need to make sure we only take advantage of the features as of pytest v3.3.2. A side effect of this is that we must use tmpdir_factory as opposed to tmp_path_factory, which wasn't introduced until v4.3.0.

ROS 2 tests are limited by the version of packages available in Ubuntu
Bionic, not the ones available in pip. As a result, we need to make sure
we only take advantage of the features as of pytest v3.3.2. A side
effect of this is that we must use `tmpdir_factory` as opposed to
`tmp_path_factory`, which wasn't introduced until v4.3.0.

Signed-off-by: Kyle Fazzari <kyle@canonical.com>
@kyrofa
Copy link
Copy Markdown
Member Author

kyrofa commented Jul 17, 2019

Can someone with power please manually trigger a CI job using http://build.ros2.org/view/Eci/job/Eci__overlay_ubuntu_bionic_amd64/ ?

@dirk-thomas
Copy link
Copy Markdown
Member

Before: Build Status
After: Build Status

@dirk-thomas
Copy link
Copy Markdown
Member

And the usual CI (using the pip version of pytest): Build Status

@dirk-thomas
Copy link
Copy Markdown
Member

Thanks for the quick patch.

@dirk-thomas dirk-thomas merged commit f12755a into ros2:master Jul 17, 2019
@kyrofa kyrofa deleted the bugfix/use_older_pytest branch July 17, 2019 21:55
ruffsl pushed a commit to ruffsl/sros2 that referenced this pull request Aug 6, 2019
ROS 2 tests are limited by the version of packages available in Ubuntu
Bionic, not the ones available in pip. As a result, we need to make sure
we only take advantage of the features as of pytest v3.3.2. A side
effect of this is that we must use `tmpdir_factory` as opposed to
`tmp_path_factory`, which wasn't introduced until v4.3.0.

Signed-off-by: Kyle Fazzari <kyle@canonical.com>
Signed-off-by: ruffsl <roxfoxpox@gmail.com>
@kyrofa kyrofa mentioned this pull request Mar 31, 2020
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants