Skip to content

Conversation

@weiji14
Copy link
Contributor

@weiji14 weiji14 commented Sep 15, 2025

Python 3.14 to be released on 7 Oct 2025, changelog at https://docs.python.org/3.14/whatsnew/3.14.html

Related to conda-forge/rustac-feedstock#9

@weiji14
Copy link
Contributor Author

weiji14 commented Sep 15, 2025

Error from https://github.com/stac-utils/rustac-py/actions/runs/17749865147/job/50442524464?pr=159#step:7:16

Using CPython 3.14.0rc2 interpreter at: /home/runner/.local/bin/python3.14
Creating virtual environment at: .venv
Resolved 149 packages in 0.68ms
error: Distribution `obstore==0.8.1 @ registry+[https://pypi.org/simple`](https://pypi.org/simple%60) can't be installed because it doesn't have a source distribution or wheel for the current platform

hint: You're using CPython 3.14 (`cp314`), but `obstore` (v0.8.1) only has wheels with the following Python ABI tags: `cp311`, `cp312`, `cp313`

Need to get obstore to release an sdist or Python 3.14 wheels on PyPI it seems.

@weiji14
Copy link
Contributor Author

weiji14 commented Sep 16, 2025

Ok, now blocked by pyogrio==0.11.0 (dependency of geopandas) at https://github.com/stac-utils/rustac-py/actions/runs/17779980323/job/50536783872?pr=159#step:7:128

   Building pandas==2.3.0
  × Failed to build `pyogrio==0.11.0`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta.build_wheel` failed (exit status: 1)

      [stderr]
      Traceback (most recent call last):
        File "<string>", line 11, in <module>
          wheel_filename =
      backend.build_wheel("/home/runner/work/_temp/setup-uv-cache/builds-v0/.tmpfWeulK",
      {}, None)
        File
      "/home/runner/work/_temp/setup-uv-cache/builds-v0/.tmpztPHC1/lib/python3.14/site-packages/setuptools/build_meta.py",
      line 432, in build_wheel
          return _build(['bdist_wheel'])
        File
      "/home/runner/work/_temp/setup-uv-cache/builds-v0/.tmpztPHC1/lib/python3.14/site-packages/setuptools/build_meta.py",
      line 423, in _build
          return self._build_with_temp_dir(
                 ~~~~~~~~~~~~~~~~~~~~~~~~~^
              cmd,
              ^^^^
          ...<3 lines>...
              self._arbitrary_args(config_settings),
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          )
          ^
        File
      "/home/runner/work/_temp/setup-uv-cache/builds-v0/.tmpztPHC1/lib/python3.14/site-packages/setuptools/build_meta.py",
      line 404, in _build_with_temp_dir
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File
      "/home/runner/work/_temp/setup-uv-cache/builds-v0/.tmpztPHC1/lib/python3.14/site-packages/setuptools/build_meta.py",
      line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 154, in <module>
        File "<string>", line 129, in get_gdal_config
        File "<string>", line 85, in get_gdal_config
        File "<string>", line 39, in read_response
        File
      "/home/runner/.local/share/uv/python/cpython-3.14.0rc2-linux-x86_64-gnu/lib/python3.14/subprocess.py",
      line 472, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
                 ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                     **kwargs).stdout
                     ^^^^^^^^^
        File
      "/home/runner/.local/share/uv/python/cpython-3.14.0rc2-linux-x86_64-gnu/lib/python3.14/subprocess.py",
      line 554, in run
          with Popen(*popenargs, **kwargs) as process:
               ~~~~~^^^^^^^^^^^^^^^^^^^^^^
        File
      "/home/runner/.local/share/uv/python/cpython-3.14.0rc2-linux-x86_64-gnu/lib/python3.14/subprocess.py",
      line 1038, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
          ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                              pass_fds, cwd, env,
                              ^^^^^^^^^^^^^^^^^^^
          ...<5 lines>...
                              gid, gids, uid, umask,
                              ^^^^^^^^^^^^^^^^^^^^^^
                              start_new_session, process_group)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File
      "/home/runner/.local/share/uv/python/cpython-3.14.0rc2-linux-x86_64-gnu/lib/python3.14/subprocess.py",
      line 1970, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'

      hint: This usually indicates a problem with the package or the build
      environment.
  help: `pyogrio` (v0.11.0) was included because `rustac:dev` depends on
        `geopandas` (v1.1.0) which depends on `pyogrio`

Need to wait for geopandas/pyogrio#560 to add Python 3.14 support (or figure out GDAL deps 😛)

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.

1 participant