You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ra...@apache.org on 2023/07/18 14:46:28 UTC

[arrow] branch maint-13.0.0 updated (3cded6e6d9 -> c7483af73e)

This is an automated email from the ASF dual-hosted git repository.

raulcd pushed a change to branch maint-13.0.0
in repository https://gitbox.apache.org/repos/asf/arrow.git


    from 3cded6e6d9 GH-36687: [R] Add correct branch name to autobrew formulae to facilitate local testing (#36689)
     new ae32f8fb19 GH-36746: [R] Update NEWS.md for 12.0.1.1 release (#36747)
     new c7483af73e GH-36744: [Python][Packaging] Add upper pin for cython<3 to pyarrow build dependencies (#36743)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/dev.yml           | 2 +-
 ci/conda_env_python.txt             | 2 +-
 python/pyproject.toml               | 2 +-
 python/requirements-build.txt       | 2 +-
 python/requirements-wheel-build.txt | 2 +-
 python/setup.py                     | 7 ++++---
 r/NEWS.md                           | 4 ++++
 7 files changed, 13 insertions(+), 8 deletions(-)


[arrow] 01/02: GH-36746: [R] Update NEWS.md for 12.0.1.1 release (#36747)

Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

raulcd pushed a commit to branch maint-13.0.0
in repository https://gitbox.apache.org/repos/asf/arrow.git

commit ae32f8fb19f6258c9f7ff3ff1773798766353dfb
Author: Nic Crane <th...@gmail.com>
AuthorDate: Tue Jul 18 13:48:54 2023 +0100

    GH-36746: [R] Update NEWS.md for 12.0.1.1 release (#36747)
    
    ### What changes are included in this PR?
    
    Update NEWS.md in the R package to include 12.0.1.1 release
    
    ### Are these changes tested?
    
    No
    
    ### Are there any user-facing changes?
    
    No
    * Closes: #36746
    
    Authored-by: Nic Crane <th...@gmail.com>
    Signed-off-by: Nic Crane <th...@gmail.com>
---
 r/NEWS.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/r/NEWS.md b/r/NEWS.md
index f358c2aae4..45730a7b36 100644
--- a/r/NEWS.md
+++ b/r/NEWS.md
@@ -19,6 +19,10 @@
 
 # arrow 12.0.1.9000
 
+# arrow 12.0.1.1
+
+* Update a package version reference to be text only instead of numeric due to CRAN update requiring this (#36353, #36364)
+
 # arrow 12.0.1
 
 * Update the version of the date library vendored with Arrow C++ library 


[arrow] 02/02: GH-36744: [Python][Packaging] Add upper pin for cython<3 to pyarrow build dependencies (#36743)

Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

raulcd pushed a commit to branch maint-13.0.0
in repository https://gitbox.apache.org/repos/asf/arrow.git

commit c7483af73e18335ede2d5a52a4b20d0ca375098b
Author: Joris Van den Bossche <jo...@gmail.com>
AuthorDate: Tue Jul 18 16:41:55 2023 +0200

    GH-36744: [Python][Packaging] Add upper pin for cython<3 to pyarrow build dependencies (#36743)
    
    ### Rationale for this change
    
    Although we already fixed some cython 3 build issues (https://github.com/apache/arrow/pull/34726), some new have been introduced, which we are seeing now cython 3 is released (https://github.com/apache/arrow/issues/36730)
    
    Adding an upper pin (<3) for the release, so we have more time (the full 14.0 release cycle) to iron out issues.
    * Closes: #36744
    
    Authored-by: Joris Van den Bossche <jo...@gmail.com>
    Signed-off-by: Antoine Pitrou <an...@python.org>
---
 .github/workflows/dev.yml           | 2 +-
 ci/conda_env_python.txt             | 2 +-
 python/pyproject.toml               | 2 +-
 python/requirements-build.txt       | 2 +-
 python/requirements-wheel-build.txt | 2 +-
 python/setup.py                     | 7 ++++---
 6 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 7c2437f6ed..119d11d9a3 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -103,7 +103,7 @@ jobs:
         shell: bash
         run: |
           gem install test-unit
-          pip install cython setuptools six pytest jira
+          pip install "cython<3" setuptools six pytest jira
       - name: Run Release Test
         env:
           ARROW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/ci/conda_env_python.txt b/ci/conda_env_python.txt
index 04f985c94b..4ae5c3614a 100644
--- a/ci/conda_env_python.txt
+++ b/ci/conda_env_python.txt
@@ -18,7 +18,7 @@
 # don't add pandas here, because it is not a mandatory test dependency
 boto3  # not a direct dependency of s3fs, but needed for our s3fs fixture
 cffi
-cython
+cython<3
 cloudpickle
 fsspec
 hypothesis
diff --git a/python/pyproject.toml b/python/pyproject.toml
index fe8c938a9c..7e61304585 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -17,7 +17,7 @@
 
 [build-system]
 requires = [
-    "cython >= 0.29.31",
+    "cython >= 0.29.31,<3",
     "oldest-supported-numpy>=0.14",
     "setuptools_scm",
     "setuptools >= 40.1.0",
diff --git a/python/requirements-build.txt b/python/requirements-build.txt
index 507e908137..6378d1b94e 100644
--- a/python/requirements-build.txt
+++ b/python/requirements-build.txt
@@ -1,4 +1,4 @@
-cython>=0.29.31
+cython>=0.29.31,<3
 oldest-supported-numpy>=0.14
 setuptools_scm
 setuptools>=38.6.0
diff --git a/python/requirements-wheel-build.txt b/python/requirements-wheel-build.txt
index 6043d2ffb2..e4f5243fbc 100644
--- a/python/requirements-wheel-build.txt
+++ b/python/requirements-wheel-build.txt
@@ -1,4 +1,4 @@
-cython>=0.29.31
+cython>=0.29.31,<3
 oldest-supported-numpy>=0.14
 setuptools_scm
 setuptools>=58
diff --git a/python/setup.py b/python/setup.py
index f06cb5a627..dc529679c7 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -40,8 +40,9 @@ import Cython
 # Check if we're running 64-bit Python
 is_64_bit = sys.maxsize > 2**32
 
-if Cython.__version__ < '0.29.31':
-    raise Exception('Please upgrade to Cython 0.29.31 or newer')
+if Cython.__version__ < '0.29.31' or Cython.__version__ >= '3.0':
+    raise Exception(
+        'Please update your Cython version. Supported Cython >= 0.29.31, < 3.0')
 
 setup_dir = os.path.abspath(os.path.dirname(__file__))
 
@@ -491,7 +492,7 @@ setup(
                                  'pyarrow/_generated_version.py'),
         'version_scheme': guess_next_dev_version
     },
-    setup_requires=['setuptools_scm', 'cython >= 0.29.31'] + setup_requires,
+    setup_requires=['setuptools_scm', 'cython >= 0.29.31,<3'] + setup_requires,
     install_requires=install_requires,
     tests_require=['pytest', 'pandas', 'hypothesis'],
     python_requires='>=3.8',