Bazel Tutorial: Python targets with py_library, py_test & py_binary (internal & external deps)

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ธ.ค. 2024

ความคิดเห็น • 12

  • @KrisFoster1
    @KrisFoster1  3 ปีที่แล้ว +3

    Part 3 is uploaded now. We use GitHub actions to build & test our monorepo in CI - th-cam.com/video/qiZXFdd8OPo/w-d-xo.html

  • @aschool-a-to-z
    @aschool-a-to-z หลายเดือนก่อน +1

    when you run flask app using bazel build, whay bazel still occupied command window? can we manage, jus bazel build app and deattache command window?

  • @chikkusingh460
    @chikkusingh460 2 ปีที่แล้ว +1

    @Kris Can you please create a video on bazel coverage. How bazel coverage can be run on New Code on daily basis ?

  • @dawnrazor
    @dawnrazor 2 ปีที่แล้ว +2

    Great video Kris, please can you turn up your mic though

  • @andrewjmcgehee
    @andrewjmcgehee ปีที่แล้ว +1

    hey Kris, do you have any experience with external pip dependencies in bazel? specifically trying to create my own pip wheel repo that i can vendor to a project for multiple platforms like mac and linux. would love to pick your brain if you’ve ever done something similar.

  • @JasonMobarak
    @JasonMobarak ปีที่แล้ว

    Great job!

  • @mejdej_pl
    @mejdej_pl 2 ปีที่แล้ว +1

    @Kris Foster
    thanks for the video - it's great :), but I have 2 questions, maybe you will be able to help :) is it possible to build apps to binary target? Something like pyinstaller does with --one-file flag? And second, let's say I have few apps (projectA and projectB) and they have requirements.txt on its own - is it possible to have dependencies in multiple versions? Sth like projectA uses version 1 of dependecy and project B uses v.2? Will it work? Or I will need to upgrade projectB to v2? Does bazel support that?

  • @mozsty
    @mozsty 5 หลายเดือนก่อน

    i am not able to import flask. loading the pip_install is not working, it is showing every .bzl need a package, rules_python//python:pip.bzl doesnot have one.

  • @MATINSE-qr1cx
    @MATINSE-qr1cx ปีที่แล้ว

    Sound is low.

  • @hanggicui7974
    @hanggicui7974 2 ปีที่แล้ว

    Bazel builds slow and tricky to debug. Especially in a large multi-language monorepo project.

  • @xiaolong9446
    @xiaolong9446 ปีที่แล้ว +1

    BUILD.bazel doesn't work!!!!!!