full-toothbrush-75676
09/27/2021, 7:17 PMpants
? This would be helpful to use while developing the tool so changes to source are reflected when using the CLI tool without having to uninstall / reinstall. From reading the pants
docs, it seems like using a python_distribution
with entry_points
might be my best bet for installing said CLI tool, but I’m not finding if there is a way to install this distribution in “editable” mode. Let me know if I’m on the wrong track, too…user
09/27/2021, 8:54 PMrapid-bird-79300
09/27/2021, 9:30 PM2.7.0
and now ./pants tailor
is adding pex_binary
targets to our python files that have if __name__ == "main"
. Is this intentional? Created an example of this here: https://github.com/njgrisafi/pants-example/tree/pex-binary-example-2.7.0ambitious-actor-36781
09/28/2021, 1:16 AM.pex
file gets built to expect?user
09/28/2021, 8:18 PM./pants peek
(handy for incremental adoption!)
* better Apple Silicon support
* perf improvements
* PEP 561
and more https://t.co/zqd0QgMCvi
https://t.co/aF5iedD70V
Twitterbusy-vase-39202
09/29/2021, 12:46 AMbusy-vase-39202
09/29/2021, 12:50 AMclean-night-52582
09/29/2021, 5:04 AMcurved-television-6568
09/29/2021, 5:51 AMclean-night-52582
09/29/2021, 6:26 AMhelpful-jackal-12093
09/29/2021, 11:26 AMuser
09/29/2021, 6:39 PMuser
09/29/2021, 9:20 PMripe-kitchen-64238
09/29/2021, 10:22 PMException message: 1 Exception encountered:
ProcessExecutionFailure: Process 'Building requirements.pex with 3 requirements: pandas<2.0.0,>=1.3.3, pytz<2022.0.0,>=2021.1, requests<3.0.0,>=2.26.0' failed with exit code 1.
stdout:
stderr:
ERROR: Could not find a version that satisfies the requirement pandas<2.0.0,>=1.3.3
ERROR: No matching distribution found for pandas<2.0.0,>=1.3.3pandas 1.3.3 definitely exists, I'm not sure why specifically pandas and numpy are causing problems but doing the same thing for other dependencies is fine 🤔 Any suggestions on where to look for this? Thanks!
acceptable-guitar-79854
09/29/2021, 11:12 PMacceptable-guitar-79854
09/29/2021, 11:12 PMuser
09/30/2021, 12:02 AM\.cs
A W E S O M E!
Twitteruser
09/30/2021, 3:16 AMambitious-actor-36781
09/30/2021, 5:35 AMbase
docker image (amongst other conflicting image names)
the solution for this was change all their build/deploy scripts to name their docker images <companyname>/base
or similar.
Buuuut, I can't do that with the 2.7 pants docker_image
target, because /
is a disallowed target name.
Is there a way to specify the image name of a docker_image
target to be something other than the name
property?brave-furniture-86963
09/30/2021, 6:21 PMpex
dependency stored under a pants_files
directory at the root of my repo.
What should my pants.toml
look like for pants
to use the local pex
file instead of downloading it form the internet?
This does not work
[download-pex-bin]
url_template="<file://pants_files/pex>"
It fails with
Exception: Error (No such file or directory (os error 2)) opening file at /pex for download to pex
clean-night-52582
09/30/2021, 6:45 PMpython-native-code
Is this only for resolving third party deps or is there a way to build c bindings locally? Was also thinking about trying python_ditribution
powerful-addition-15861
09/30/2021, 8:55 PM./pants --version
15:48:17.17 [ERROR] 1 Exception encountered:
Exception: Error downloading file: error sending request for url (<https://github-releases.githubusercontent.com/22072746/f2e54b89-00b6-4e73-bfdd-1edea9f28a45?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210930%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210930T204704Z&X-Amz-Expires=300&X-Amz-Signature=43ad57850d558c35c2b87b4a1299c8ab5627359de7ad7f59b9cbf5f2e473755d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=22072746&response-content-disposition=attachment%3B%20filename%3Dpex&response-content-type=application%2Foctet-stream>): error trying to connect: invalid certificate: UnknownIssuer
(Use --print-stacktrace for more error details and/or --no-process-execution-local-cleanup to inspect chroots and/or -ldebug for more logs. See <https://www.pantsbuild.org/v2.7/docs/troubleshooting> for common issues. Consider reaching out for help: <https://www.pantsbuild.org/v2.7/docs/getting-help.>)
I tried switching my pants.toml to point back to 2.6.1rc3 and that is now throwing the same error. I have tried deleting my ~/.cache/pants directory without any success.
Can someone help point me in the right direction?user
09/30/2021, 9:33 PMdazzling-diamond-4749
10/01/2021, 3:56 AMuser
10/01/2021, 7:15 PMbetter-cricket-91243
10/01/2021, 7:47 PMfresh-cat-90827
10/04/2021, 1:51 PMpytest
skipping the tests when they are selected with markers?happy-kitchen-89482
10/04/2021, 2:57 PMhappy-kitchen-89482
10/04/2021, 2:58 PMuser
10/04/2021, 3:45 PM