arrow icon indicating copy to clipboard operation
arrow copied to clipboard

GH-39958: [Python][CI] Remove upper pin on pytest

Open AlenkaF opened this issue 2 years ago • 3 comments

Closes:

  • https://github.com/apache/arrow/issues/39958
  • https://github.com/apache/arrow/issues/39957
  • GitHub Issue: #39958

AlenkaF avatar Mar 12 '24 13:03 AlenkaF

:warning: GitHub issue #39958 has been automatically assigned in GitHub to PR creator.

github-actions[bot] avatar Mar 12 '24 13:03 github-actions[bot]

@github-actions crossbow submit -g python

kou avatar Mar 12 '24 20:03 kou

Revision: 701807a771d2e410a24ef01fa01566a9774d8ba9

Submitted crossbow builds: ursacomputing/crossbow @ actions-2dab689a54

Task Status
test-conda-python-3.10 GitHub Actions
test-conda-python-3.10-cython2 GitHub Actions
test-conda-python-3.10-hdfs-2.9.2 GitHub Actions
test-conda-python-3.10-hdfs-3.2.1 GitHub Actions
test-conda-python-3.10-pandas-latest GitHub Actions
test-conda-python-3.10-pandas-nightly GitHub Actions
test-conda-python-3.10-spark-v3.5.0 GitHub Actions
test-conda-python-3.10-substrait GitHub Actions
test-conda-python-3.11 GitHub Actions
test-conda-python-3.11-dask-latest GitHub Actions
test-conda-python-3.11-dask-upstream_devel GitHub Actions
test-conda-python-3.11-hypothesis GitHub Actions
test-conda-python-3.11-pandas-upstream_devel GitHub Actions
test-conda-python-3.11-spark-master GitHub Actions
test-conda-python-3.12 GitHub Actions
test-conda-python-3.8 GitHub Actions
test-conda-python-3.8-pandas-1.0 GitHub Actions
test-conda-python-3.8-spark-v3.5.0 GitHub Actions
test-conda-python-3.9 GitHub Actions
test-conda-python-3.9-pandas-latest GitHub Actions
test-cuda-python GitHub Actions
test-debian-11-python-3-amd64 Azure
test-debian-11-python-3-i386 GitHub Actions
test-fedora-39-python-3 Azure
test-ubuntu-20.04-python-3 Azure
test-ubuntu-22.04-python-3 GitHub Actions

github-actions[bot] avatar Mar 12 '24 20:03 github-actions[bot]

BTW, could you use our PR template instead of just listing related issue links?

Will do, thank you for reminding me!

AlenkaF avatar Mar 13 '24 07:03 AlenkaF

@jorisvandenbossche do you mind giving a quick look at this changes?

AlenkaF avatar Mar 13 '24 07:03 AlenkaF

I would personally prefer keeping doctest-cython running on our CI. Is it urgent to remove the pytest pin? Or we could also leave the pin just for the docs build where the doctests are ran?

jorisvandenbossche avatar Mar 13 '24 08:03 jorisvandenbossche

added allow_bucket_creation=True to the s3_example_fs fixture

Do we have any understanding about why pytest 8 needs this change?

jorisvandenbossche avatar Mar 13 '24 08:03 jorisvandenbossche

I would personally prefer keeping doctest-cython running on our CI. Is it urgent to remove the pytest pin? Or we could also leave the pin just for the docs build where the doctests are ran?

We can also wait with merging this PR till https://github.com/lgpage/pytest-cython/issues/58 is merged. I am OK with any of the proposed options.

added allow_bucket_creation=True to the s3_example_fs fixture

Do we have any understanding about why pytest 8 needs this change?

No 😊 Will research.

AlenkaF avatar Mar 13 '24 08:03 AlenkaF

I have kept the doctest-cython command on our CI (conda-python-docs) and pinned pytest to lower than 8 in this case.

As for the allow_bucket_creation=True in the s3_example_fs fixture, we have agreed there is no point in spending too much time on researching why it is needed. Looking at the PR that added this argument in other cases where S3FileSystem is created from a URI (https://github.com/apache/arrow/pull/13206) it makes sense to also add it to the s3_example_fs fixture.

AlenkaF avatar Mar 18 '24 08:03 AlenkaF

@github-actions crossbow submit -g python

jorisvandenbossche avatar Mar 19 '24 12:03 jorisvandenbossche

Revision: d5b4d403429c28b54b03cf86a8e2774eaa5f78ef

Submitted crossbow builds: ursacomputing/crossbow @ actions-3ecfe9f5ae

Task Status
test-conda-python-3.10 GitHub Actions
test-conda-python-3.10-cython2 GitHub Actions
test-conda-python-3.10-hdfs-2.9.2 GitHub Actions
test-conda-python-3.10-hdfs-3.2.1 GitHub Actions
test-conda-python-3.10-pandas-latest GitHub Actions
test-conda-python-3.10-pandas-nightly GitHub Actions
test-conda-python-3.10-spark-v3.5.0 GitHub Actions
test-conda-python-3.10-substrait GitHub Actions
test-conda-python-3.11 GitHub Actions
test-conda-python-3.11-dask-latest GitHub Actions
test-conda-python-3.11-dask-upstream_devel GitHub Actions
test-conda-python-3.11-hypothesis GitHub Actions
test-conda-python-3.11-pandas-upstream_devel GitHub Actions
test-conda-python-3.11-spark-master GitHub Actions
test-conda-python-3.12 GitHub Actions
test-conda-python-3.8 GitHub Actions
test-conda-python-3.8-pandas-1.0 GitHub Actions
test-conda-python-3.8-spark-v3.5.0 GitHub Actions
test-conda-python-3.9 GitHub Actions
test-conda-python-3.9-pandas-latest GitHub Actions
test-cuda-python GitHub Actions
test-debian-11-python-3-amd64 Azure
test-debian-11-python-3-i386 GitHub Actions
test-fedora-39-python-3 Azure
test-ubuntu-20.04-python-3 Azure
test-ubuntu-22.04-python-3 GitHub Actions

github-actions[bot] avatar Mar 19 '24 12:03 github-actions[bot]

Thanks!

jorisvandenbossche avatar Mar 19 '24 14:03 jorisvandenbossche