Comments (4)
No particular roadmap or timeline, unfortunately. I understand that the Bazel team does have an intent to officially support Python extensions, but probably not for a while.
from subpar.
With #52, extension modules can be manually extracted. Now I "just" need to wire up some more metadata and plumb it through to the skylark code.
from subpar.
With #65, one can specify py_binary(... zip_safe=False, ...)
to cause shared libraries (and everything else) to be extracted to a temporary directory on when the par file is run. The Python sys.path
is also updated to enable importing.
There is still no py_extension
rule, and depending on external packages is still difficult.
from subpar.
Hi @duggelz ,
Thanks for the nice follow-ups on this thread over the years. I have pretty strong interest in using par_binary() with C extensions (all built with Bazel).
What exactly is the goal of this thread when we are talking about? Is it to support
- a thin path to enable experts in Bazel and CPython get to use C-extensions in python,
- a moderate solution so that the developers familiar with python packaging may use it, or
- a one-stop solution to make it easy to any developer to create C-extensions in python?
Also, what exactly is difficult for enabling depending on external packages? Is it
- too many potential use cases that are hard to exhaustively enumerate,
- use cases with conflicting design goals (and perhaps implementations guidelines),
- hard to migrate a meaningful amount of existing the C-extension packages, or
- lack of general interest from the community?
from subpar.
Related Issues (20)
- Fix tests to use proper select() for python version
- Tests fail for centos7 configuration
- Tests may fail when run via `bazel test` HOT 1
- Incompatible search for main files
- Development Best Practices HOT 1
- bazel 0.27.1 deprecated API usages
- Move subpar to the bazelbuild org HOT 1
- Conflicting package names HOT 1
- CODEOWNERS HOT 1
- cython modules import fails when running par file HOT 1
- Why is the generated dpkg_parser having a #!/usr/bin/python3 shebang? HOT 1
- Flag --incompatible_no_implicit_file_export will break Subpar in Bazel 1.2.1
- Flag --incompatible_no_implicit_file_export will break Subpar in a future Bazel release
- [Documentation] Should README setup example use http_archive rather than git_repository? HOT 1
- Running `bazel-bin/*.par ` has ModuleNotFoundError: No module named issue
- Support hermetically built python interperters
- Python cannot run Subpars larger than 2GiB because they are Zip64 formatted.
- Subpar is failing on Bazel CI since the upgrade to Ubuntu 20.04 HOT 1
- Migration guide for existing subpar users now that it is "unmaintained and considered deprecated"?
- Build fails with bazel 0.25 --incompatible_use_python_toolchains HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subpar.