Skip to content

py-pyarrow: add version v10.0.1#35068

Closed
thomas-bouvier wants to merge 1 commit intospack:developfrom
thomas-bouvier:update-pyarrow-v10.0.1
Closed

py-pyarrow: add version v10.0.1#35068
thomas-bouvier wants to merge 1 commit intospack:developfrom
thomas-bouvier:update-pyarrow-v10.0.1

Conversation

@thomas-bouvier
Copy link
Copy Markdown
Member

This is still a work in progress as I get the following when building [email protected]+parquet ([email protected]+parquet builds just fine):

==> py-pyarrow: Executing phase: 'install'
==> [2023-01-22-14:33:46.156641] '/mnt/spack/linux-debian11-broadwell/gcc-10.2.1/python-3.10.8-ed7xzsy7uqik7pds5gjjuxag7tawx53n/bin/python3.10' '-m' 'pip' '-vvv' '--no-input' '--no-cache-dir' '--disable-pip-version-check' 'install' '--no-deps' '--ignore-installed' '--no-build-isolation' '--no-warn-script-location' '--no-index' '--prefix=/mnt/spack/linux-debian11-broadwell/gcc-10.2.1/py-pyarrow-10.0.1-wqx22j5unn2ntkwqfkobudfhvl77us5h' '--install-option=--with-parquet' '.'
WARNING: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
Using pip 22.2.2 from /mnt/spack/linux-debian11-broadwell/gcc-10.2.1/py-pip-22.2.2-ev2inuoyzgbcqidixckzteoisfoxswc7/lib/python3.10/site-packages/pip (python 3.10)
Non-user install due to --prefix or --target option
Ignoring indexes: https://pypi.org/simple
Created temporary directory: /tmp/pip-ephem-wheel-cache-anal14jd
Created temporary directory: /tmp/pip-build-tracker-4ko2fmq1
Initialized build tracking at /tmp/pip-build-tracker-4ko2fmq1
Created build tracker: /tmp/pip-build-tracker-4ko2fmq1
Entered build tracker: /tmp/pip-build-tracker-4ko2fmq1
Created temporary directory: /tmp/pip-install-rxf8u5sk
ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
Exception information:
Traceback (most recent call last):
  File "/mnt/spack/linux-debian11-broadwell/gcc-10.2.1/py-pip-22.2.2-ev2inuoyzgbcqidixckzteoisfoxswc7/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
  File "/mnt/spack/linux-debian11-broadwell/gcc-10.2.1/py-pip-22.2.2-ev2inuoyzgbcqidixckzteoisfoxswc7/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper
    return func(self, options, args)
  File "/mnt/spack/linux-debian11-broadwell/gcc-10.2.1/py-pip-22.2.2-ev2inuoyzgbcqidixckzteoisfoxswc7/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 335, in run
    reqs = self.get_requirements(args, options, finder, session)
  File "/mnt/spack/linux-debian11-broadwell/gcc-10.2.1/py-pip-22.2.2-ev2inuoyzgbcqidixckzteoisfoxswc7/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 411, in get_requirements
    req_to_add = install_req_from_line(
  File "/mnt/spack/linux-debian11-broadwell/gcc-10.2.1/py-pip-22.2.2-ev2inuoyzgbcqidixckzteoisfoxswc7/lib/python3.10/site-packages/pip/_internal/req/constructors.py", line 393, in install_req_from_line
    parts = parse_req_from_line(name, line_source)
  File "/mnt/spack/linux-debian11-broadwell/gcc-10.2.1/py-pip-22.2.2-ev2inuoyzgbcqidixckzteoisfoxswc7/lib/python3.10/site-packages/pip/_internal/req/constructors.py", line 310, in parse_req_from_line
    url = _get_url_from_path(p, name)
  File "/mnt/spack/linux-debian11-broadwell/gcc-10.2.1/py-pip-22.2.2-ev2inuoyzgbcqidixckzteoisfoxswc7/lib/python3.10/site-packages/pip/_internal/req/constructors.py", line 266, in _get_url_from_path
    raise InstallationError(
pip._internal.exceptions.InstallationError: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
Removed build tracker: '/tmp/pip-build-tracker-4ko2fmq1'

The pypi archive contains both setup.py and pyproject.toml. Any pointers?

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Jan 22, 2023

Hi @thomas-bouvier! I noticed that the following package(s) don't yet have maintainers:

  • arrow

Are you interested in adopting any of these package(s)? If so, simply add the following to the package class:

    maintainers = ["thomas-bouvier"]

If not, could you contact the developers of this package and see if they are interested? You can quickly see who has worked on a package with spack blame:

$ spack blame arrow

Thank you for your help! Please don't add maintainers without their consent.

You don't have to be a Spack expert or package developer in order to be a "maintainer," it just gives us a list of users willing to review PRs or debug issues relating to this package. A package can have multiple maintainers; just add a list of GitHub handles of anyone who wants to volunteer.

@adamjstewart
Copy link
Copy Markdown
Member

That is odd. What happens if you remove install_options?

@adamjstewart adamjstewart self-assigned this Jan 22, 2023
@thomas-bouvier thomas-bouvier marked this pull request as draft January 23, 2023 09:33
@thomas-bouvier thomas-bouvier changed the title [WIP] py-pyarrow: add version v10.0.1 py-pyarrow: add version v10.0.1 Jan 23, 2023
@thomas-bouvier
Copy link
Copy Markdown
Member Author

Does not work either without the --install-option=--with-parquet

@thomas-bouvier
Copy link
Copy Markdown
Member Author

Fixed by #34463

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants