-
-
Notifications
You must be signed in to change notification settings - Fork 749
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
Pants plugins: pack_metadata - python imports rules #6260
base: master
Are you sure you want to change the base?
Commits on Oct 11, 2024
-
pants-plugins/pack_metadata: add pack_content_resource target type
Now pack_metadata targets will generate pack_content_resource instead of just resource. pack_content_resource is still a resource, but this setup allows us to find the generated resource targets more simply. This also harmonizes the implementation of pack_metadata to follow the fields definition of resources (esp moving dependencies into moved_fields instead of core_fields).
Configuration menu - View commit details
-
Copy full SHA for 95a0303 - Browse repository at this point
Copy the full SHA 95a0303View commit details -
pants-plugins/pack_metadata: classify metadata type of pack_content_r…
…esource targets This will allow rules to look up just action and sensor metadata (for example).
Configuration menu - View commit details
-
Copy full SHA for 2222faf - Browse repository at this point
Copy the full SHA 2222fafView commit details -
pants-plugins/pack_metadata: register actions/sensors in pants python…
… module mapping Only handles the actual action/sensor python files. It does not yet handle: - <pack>/lib - <pack>/actions/lib
Configuration menu - View commit details
-
Copy full SHA for 050b17e - Browse repository at this point
Copy the full SHA 050b17eView commit details -
pants-plugins/pack_metadata: register lib and actions/lib in pants py…
…thon module mapping This makes dependency inference aware of these which may be on the PYTHONPATH. - <pack>/lib - <pack>/actions/lib
Configuration menu - View commit details
-
Copy full SHA for 9b5a90b - Browse repository at this point
Copy the full SHA 9b5a90bView commit details -
pants: Remove <pack>/lib and <pack>/actions/lib from source roots
The pack_metadata plugin now handles identifying these imports for dep inference. Next step, modify the PYTHONPATH as well.
Configuration menu - View commit details
-
Copy full SHA for 8367663 - Browse repository at this point
Copy the full SHA 8367663View commit details -
Configuration menu - View commit details
-
Copy full SHA for a816565 - Browse repository at this point
Copy the full SHA a816565View commit details -
pants-plugins/pack_metadata: Add implementation notes for python_pack…
…_content and related rules
Configuration menu - View commit details
-
Copy full SHA for 8795c50 - Browse repository at this point
Copy the full SHA 8795c50View commit details -
pants-plugins/pack_metadata: Add python_path_rules to generate PEX_EX…
…TRA_SYS_PATH for tests This won't work until pants gets support for injecting path entries.
Configuration menu - View commit details
-
Copy full SHA for f5d62ed - Browse repository at this point
Copy the full SHA f5d62edView commit details -
Configuration menu - View commit details
-
Copy full SHA for d310899 - Browse repository at this point
Copy the full SHA d310899View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4aba36 - Browse repository at this point
Copy the full SHA f4aba36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3146291 - Browse repository at this point
Copy the full SHA 3146291View commit details -
pants-plugins/pack_metadata: add python_rules.conftest.rule_runner fi…
…xture Writes various test scenarios in the test sandbox. This should avoid repeating the setup in every test.
Configuration menu - View commit details
-
Copy full SHA for a9cf6c0 - Browse repository at this point
Copy the full SHA a9cf6c0View commit details -
pants-plugins/pack_metadata: add test for pack content type detection
And fix the identified issues.
Configuration menu - View commit details
-
Copy full SHA for 55e9b8d - Browse repository at this point
Copy the full SHA 55e9b8dView commit details -
pants-plugins/pack_metadata: add tests for entry_point and pack_lib r…
…ules And fix the identified mistake in conftest.
Configuration menu - View commit details
-
Copy full SHA for 6fa9b98 - Browse repository at this point
Copy the full SHA 6fa9b98View commit details -
Configuration menu - View commit details
-
Copy full SHA for f43f2d1 - Browse repository at this point
Copy the full SHA f43f2d1View commit details -
pants-plugins/pack_metadata: add test for get_extra_sys_path_for_pack…
…_dependencies rule
Configuration menu - View commit details
-
Copy full SHA for 6d78136 - Browse repository at this point
Copy the full SHA 6d78136View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3601300 - Browse repository at this point
Copy the full SHA 3601300View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cd5a26 - Browse repository at this point
Copy the full SHA 5cd5a26View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3d8c4c - Browse repository at this point
Copy the full SHA b3d8c4cView commit details