993 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
91
views
Pass absolute paths to CMake via pyproject.toml + scikit-build-core
I wrote pybind11 bindings (called unopy) for my C++ library Uno and I'm currently working on building Python wheels. Uno has third-party dependencies, most of which are available as precompiled static ...
0
votes
1
answer
190
views
How to make hatch test install the whl instead of directly using project dir?
With the AI answers, I was recommended to do:
[tool.hatch.envs.hatch-test]
dev-mode = false # This is the line recommended by AI to have it installed instead of having it editable/local use mode
...
Advice
0
votes
2
replies
54
views
Pyproject.toml: declare a Github artifact as build dependency
I wrote pybind11 bindings for my C++ library Uno and I'd like to distribute the Python package. Uno has as (optional) dependency BQPD, written in Fortran, that is only available as precompiled static ...
1
vote
1
answer
143
views
GDAL installation on windows 11
I am trying to install GDAL in my virtual Environment which is built based on python 3.13.7.
Following this page, In my environment I do:
pip install gdal
No success though. Please see the error ...
0
votes
0
answers
115
views
How to specify interpreter, platform, and ABI for cross-platform Python wheel installation with uv install?
I am trying to download and install Python wheel packages into a uv virtual environment for a non-native (cross-platform) target environment.
When using pip, I would typically use flags like --...
1
vote
1
answer
99
views
How to deploy a file to the system from a wheel?
For given project:
.
├── demo
│ └── __init__.py
├── demo.bin
└── setup.py
demo/__init__.py:
if __name__ == "__main__":
print("You're in demo")
demo.bin:
#!/bin/bash
echo &...
0
votes
1
answer
71
views
Unable to authorize databricks from Azure Devops Stage
I'm trying to build a devops pipeline that allows to upload a python wheel file to my databricks volume.
However I keep getting the error : "Error: Authorization failed. Your token may be expired ...
0
votes
0
answers
133
views
Create a Pip Wheel for OpenCV Built from Source to Prevent Overwriting with Library Dependencies
I have a Dockerfile that builds OpenCV from source with cuda. The build itself succeeds, but pip doesn’t recognize this custom installation. As a result, when I later install a Python package that ...
1
vote
1
answer
568
views
Installing Custom Python Wheel Packages in a Databricks Serverless Notebook
I have some custom functions and classes that I packaged as a Python wheel. I want to use them in my python notebook (with a .py extension) that runs on a serverless Databricks cluster.
I have read ...
0
votes
0
answers
126
views
PEX Build Fails Due to Missing manylinux_2_17 or manylinux_2_27 Wheels for numpy and pandas on Python 3.12
I’m building a PEX file for a Python 3.12 project (system-monitor) targeting Amazon Linux 2023 (glibc 2.34) on both x86_64 and aarch64 architectures. I’m using PEX with --platform options to enforce ...
2
votes
1
answer
89
views
pip install using a separate build machine
I have two same-architecture Linux boxes running identical versions of pypy, installed via pyenv. Consider one a "production" machine and one a "build" machine, such that the ...
1
vote
1
answer
176
views
How to use pyproject.toml with python-3.6?
I created my simple Python-module. The pyproject.toml reads:
[project]
authors = [
{name = "Me Me", email = "[email protected]"}
]
name = "Mysms"
description = "...
0
votes
0
answers
64
views
Can I specify a different directory for transient files, when invoking Python build-module?
I currently build my simple Python module with a command like:
python3 -m build --wheel --outdir /tmp .
This creates the /tmp/mypackage-0.1-py3-none-any.whl -- as one would expect. However, it also ...
0
votes
0
answers
82
views
How to freeze Python build tools for repeatable builds?
TL;DR: When pip install builds and installs wheels, how do I determine which versions of build tool packages (e.g. Cython) it used? How do I force it to use the same versions of those packages in the ...
1
vote
1
answer
118
views
Python builds wheel file with restricted permissions/access list in Windows
I'm building a python wheel file using a toml file on both Linux and Windows. Linux seems to work ok, but on Windows (using clion/cmake) the wheel file is getting built with a very restricted access ...