-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(py_console_script_binary)!: entry points with custom dependencies #1363
Commits on Aug 23, 2023
-
feat! add entry_point macro to rules_python
Introduce a new `entry_point` macro to `rules_python` as opposed to the `hub` repository which allows users to generate an `entry_point` script for a given package. This will check the `console_scripts` key in the `entry_points.txt` dist-info file and avoids eager fetching of third party repositories because it is a `genrule` and a `py_binary` underneath the hood and exists in `rules_python`. This is a breaking change for bzlmod users as they will have to start using `@rules_python//python:entry_point.bzl`. For others this new macro is available to be used, but the old code is still present. Fixes bazelbuild#1362 Fixes bazelbuild#543 Fixes bazelbuild#979 Fixes bazelbuild#1262 Closes bazelbuild#980 Closes bazelbuild#1294
Configuration menu - View commit details
-
Copy full SHA for b4ff67b - Browse repository at this point
Copy the full SHA b4ff67bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20263bb - Browse repository at this point
Copy the full SHA 20263bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0e64fe - Browse repository at this point
Copy the full SHA e0e64feView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7bb137 - Browse repository at this point
Copy the full SHA c7bb137View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76fedaf - Browse repository at this point
Copy the full SHA 76fedafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85d9bab - Browse repository at this point
Copy the full SHA 85d9babView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72d7ad5 - Browse repository at this point
Copy the full SHA 72d7ad5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a6ce9e - Browse repository at this point
Copy the full SHA 4a6ce9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f976b4a - Browse repository at this point
Copy the full SHA f976b4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2463ad0 - Browse repository at this point
Copy the full SHA 2463ad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b77ef08 - Browse repository at this point
Copy the full SHA b77ef08View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf2f481 - Browse repository at this point
Copy the full SHA cf2f481View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d20bd8 - Browse repository at this point
Copy the full SHA 1d20bd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d320fe - Browse repository at this point
Copy the full SHA 6d320feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f979f5 - Browse repository at this point
Copy the full SHA 0f979f5View commit details -
comment: revert the inference of the script name because the pkg labe…
…ls are normalized and may be different than the script names
Configuration menu - View commit details
-
Copy full SHA for 8ada8f9 - Browse repository at this point
Copy the full SHA 8ada8f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32ff458 - Browse repository at this point
Copy the full SHA 32ff458View commit details -
Configuration menu - View commit details
-
Copy full SHA for a04f6b5 - Browse repository at this point
Copy the full SHA a04f6b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 026281f - Browse repository at this point
Copy the full SHA 026281fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04f715a - Browse repository at this point
Copy the full SHA 04f715aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 054f93a - Browse repository at this point
Copy the full SHA 054f93aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82e756a - Browse repository at this point
Copy the full SHA 82e756aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e09e72c - Browse repository at this point
Copy the full SHA e09e72cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 470acbe - Browse repository at this point
Copy the full SHA 470acbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b82178a - Browse repository at this point
Copy the full SHA b82178aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0330ca7 - Browse repository at this point
Copy the full SHA 0330ca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1a05dd - Browse repository at this point
Copy the full SHA a1a05ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a18304 - Browse repository at this point
Copy the full SHA 8a18304View commit details -
Configuration menu - View commit details
-
Copy full SHA for d60abf8 - Browse repository at this point
Copy the full SHA d60abf8View commit details -
comment: remove shebang as it is not used
This should stop confusing people about what shebang/interpreter is used. Fixes bazelbuild#1055
Configuration menu - View commit details
-
Copy full SHA for cdf8903 - Browse repository at this point
Copy the full SHA cdf8903View commit details -
comment: use py_binary for entry_point generation tool
This is going to be more correct and simplifies visibility exports
Configuration menu - View commit details
-
Copy full SHA for 8b92e29 - Browse repository at this point
Copy the full SHA 8b92e29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c0431b - Browse repository at this point
Copy the full SHA 5c0431bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39a57a4 - Browse repository at this point
Copy the full SHA 39a57a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59e9b1d - Browse repository at this point
Copy the full SHA 59e9b1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 861a8fd - Browse repository at this point
Copy the full SHA 861a8fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d48df0 - Browse repository at this point
Copy the full SHA 9d48df0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45149df - Browse repository at this point
Copy the full SHA 45149dfView commit details -
revert: "migrate twine_publisher to py_console_script_binary"
This reverts commit cda0d63.
Configuration menu - View commit details
-
Copy full SHA for d204b2b - Browse repository at this point
Copy the full SHA d204b2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for db8f3ac - Browse repository at this point
Copy the full SHA db8f3acView commit details -
Configuration menu - View commit details
-
Copy full SHA for df6660a - Browse repository at this point
Copy the full SHA df6660aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce157dc - Browse repository at this point
Copy the full SHA ce157dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d382d4 - Browse repository at this point
Copy the full SHA 3d382d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b47848b - Browse repository at this point
Copy the full SHA b47848bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4be2cac - Browse repository at this point
Copy the full SHA 4be2cacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38d3cd3 - Browse repository at this point
Copy the full SHA 38d3cd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3b1c7f - Browse repository at this point
Copy the full SHA d3b1c7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for db1aa77 - Browse repository at this point
Copy the full SHA db1aa77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9939ba2 - Browse repository at this point
Copy the full SHA 9939ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45b93c2 - Browse repository at this point
Copy the full SHA 45b93c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22a24ed - Browse repository at this point
Copy the full SHA 22a24edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1883ad3 - Browse repository at this point
Copy the full SHA 1883ad3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 197f5de - Browse repository at this point
Copy the full SHA 197f5deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 933643b - Browse repository at this point
Copy the full SHA 933643bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 841aab2 - Browse repository at this point
Copy the full SHA 841aab2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 530a8f9 - Browse repository at this point
Copy the full SHA 530a8f9View commit details -
fix: add back the sys.path workaround and add clearer documentation a…
…s to why it is needed.
Configuration menu - View commit details
-
Copy full SHA for 923c93d - Browse repository at this point
Copy the full SHA 923c93dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9a3e62 - Browse repository at this point
Copy the full SHA a9a3e62View commit details -
fixup! fix: add back the sys.path workaround and add clearer document…
…ation as to why it is needed.
Configuration menu - View commit details
-
Copy full SHA for f5cfd7b - Browse repository at this point
Copy the full SHA f5cfd7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bca053 - Browse repository at this point
Copy the full SHA 5bca053View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dbf322 - Browse repository at this point
Copy the full SHA 7dbf322View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48b52ea - Browse repository at this point
Copy the full SHA 48b52eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0915a57 - Browse repository at this point
Copy the full SHA 0915a57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e5d47d - Browse repository at this point
Copy the full SHA 9e5d47dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e40a9ad - Browse repository at this point
Copy the full SHA e40a9adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79e3732 - Browse repository at this point
Copy the full SHA 79e3732View commit details -
bzlmod: rewrite the example for linting files with pylint
Now we use 'bazel_skylib' 'run_binary' and 'write_file' to get the pylint report in hopes to make the usage of pylint more robust
Configuration menu - View commit details
-
Copy full SHA for c06096c - Browse repository at this point
Copy the full SHA c06096cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fc498a - Browse repository at this point
Copy the full SHA 1fc498aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e23cca6 - Browse repository at this point
Copy the full SHA e23cca6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7d3895 - Browse repository at this point
Copy the full SHA b7d3895View commit details -
Configuration menu - View commit details
-
Copy full SHA for c153693 - Browse repository at this point
Copy the full SHA c153693View commit details
Commits on Aug 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b9db878 - Browse repository at this point
Copy the full SHA b9db878View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3020e21 - Browse repository at this point
Copy the full SHA 3020e21View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0aa698 - Browse repository at this point
Copy the full SHA b0aa698View commit details -
Configuration menu - View commit details
-
Copy full SHA for 606e08b - Browse repository at this point
Copy the full SHA 606e08bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87a9e07 - Browse repository at this point
Copy the full SHA 87a9e07View commit details -
Configuration menu - View commit details
-
Copy full SHA for e76b286 - Browse repository at this point
Copy the full SHA e76b286View commit details -
comment: improve progress_message
Co-authored-by: Richard Levasseur <richardlev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7851fbb - Browse repository at this point
Copy the full SHA 7851fbbView commit details -
comment: improve internal docstring
Co-authored-by: Richard Levasseur <richardlev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f43df6c - Browse repository at this point
Copy the full SHA f43df6cView commit details -
comment: improve a replacement suggestion for bzlmod users
Co-authored-by: Richard Levasseur <richardlev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c978708 - Browse repository at this point
Copy the full SHA c978708View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f9eb1e - Browse repository at this point
Copy the full SHA 8f9eb1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed0e82e - Browse repository at this point
Copy the full SHA ed0e82eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 924a8dd - Browse repository at this point
Copy the full SHA 924a8ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3480c12 - Browse repository at this point
Copy the full SHA 3480c12View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff8d1f4 - Browse repository at this point
Copy the full SHA ff8d1f4View commit details
Commits on Aug 25, 2023
-
Update python/private/py_console_script_binary.bzl
doc why str(pkg) is called on a seemingly already string value
Configuration menu - View commit details
-
Copy full SHA for 58f3c89 - Browse repository at this point
Copy the full SHA 58f3c89View commit details -
Update python/private/py_console_script_binary.bzl
See if buildifier is happy with this...
Configuration menu - View commit details
-
Copy full SHA for 51cf7e5 - Browse repository at this point
Copy the full SHA 51cf7e5View commit details