bitter-ability-32190
01/24/2022, 9:41 PMhundreds-father-404
01/24/2022, 11:43 PM[scalac].plugins_global
exists or not?enough-analyst-54434
01/25/2022, 3:55 PM./build-support/bin/generate_all_lockfiles.sh
and after re-running after `rm -rf ~/.cache/pypoetry`:
$ git diff 3rdparty/python/requirements.txt
diff --git a/3rdparty/python/requirements.txt b/3rdparty/python/requirements.txt
index 61a0f5483..c4e115b90 100644
--- a/3rdparty/python/requirements.txt
+++ b/3rdparty/python/requirements.txt
@@ -14,7 +14,7 @@ humbug==0.2.7
ijson==3.1.4
packaging==21.3
-pex==2.1.61
+pex==2.1.64
psutil==5.9.0
pytest>=6.2.4,<6.3 # This should be kept in sync with `pytest.py`.
PyYAML>=6.0,<7.0
^jsirois@gill ~/dev/pantsbuild/jsirois-pants (issues/14244 *) $ git diff 3^C
^jsirois@gill ~/dev/pantsbuild/jsirois-pants (issues/14244 *) $ git diff 3rdparty/python/requirements.txt 3rdparty/python/lockfiles/user_reqs.txt
diff --git a/3rdparty/python/lockfiles/user_reqs.txt b/3rdparty/python/lockfiles/user_reqs.txt
index c96827ddf..430d00428 100644
--- a/3rdparty/python/lockfiles/user_reqs.txt
+++ b/3rdparty/python/lockfiles/user_reqs.txt
@@ -11,13 +11,15 @@
# "generated_with_requirements": [
# "PyYAML<7.0,>=6.0",
# "ansicolors==1.1.8",
+# "checksumdir==1.1.7",
# "chevron==0.14.0",
# "fasteners==0.16.3",
# "freezegun==1.1.0",
# "humbug==0.2.7",
# "ijson==3.1.4",
+# "numpy==1.14.5",
# "packaging==21.3",
-# "pex==2.1.61",
+# "pex==2.1.64",
# "psutil==5.9.0",
# "pytest<6.3,>=6.2.4",
# "requests[security]>=2.25.1",
@@ -49,6 +51,8 @@ certifi==2021.10.8; python_version >= "2.7" and python_full_version < "3.0.0" or
...
Digging, but in case you've see something like this. I have no clue where in the heck numpy can be coming from. Certainly not Pex - its 0-dep.witty-crayon-22786
01/27/2022, 9:20 PMhundreds-father-404
01/28/2022, 8:15 PMbitter-ability-32190
01/29/2022, 1:51 AMresources
and files
? https://www.pantsbuild.org/docs/resources
The ambiguity is killing me in my PR to infer resources
from strings in Python 🪦
Can I propose asset
?wide-energy-11069
01/29/2022, 6:45 AMbitter-ability-32190
01/29/2022, 4:51 PMcurved-television-6568
01/31/2022, 3:53 PMpolite-garden-50641
01/31/2022, 5:04 PMfast-nail-55400
01/31/2022, 6:02 PMgraph_session.console.stdin
in a BuiltinGoal
(context: for BSP support). I am getting this error:
Exception: Side-effects are not allowed in this context: SideEffecting types must be acquired via parameters to `@rule`s.
Is there a way to allow side effects with builtin goals? The Console
is obtained from parameters to the BuiltinGoal.run
method, and not as a Param
to a rule.hundreds-father-404
01/31/2022, 7:57 PMfmt
vs fix
), I was hoping to stabilize Autoflake and PyUpgrade in 2.10 before this Friday, which requires resolving that discussion. But I think I should drop that goal, this isn't something to rush
The other linter change I wanted to make for 2.10 is lint --only
, which I think is safe to landhundreds-father-404
02/01/2022, 12:21 AMrequirements_invalidation_digest
rather than generated_with_requirements
hundreds-father-404
02/01/2022, 2:07 AM./pants repl
is frustrating that it's hardcoded to default to python
, even if you do ./pants repl jvm ::
bitter-ability-32190
02/01/2022, 3:00 PMmypyc
? 🤔bitter-ability-32190
02/01/2022, 5:49 PMancient-vegetable-10556
02/01/2022, 6:49 PMRunRequest
and related infrastructure at the moment — is there a particular blocker around refactoring it to use a Process
object rather than specifying raw args? Currently constructing a valid JVM process is complicated, so I’d love to make use of the JvmProcess
infrastructure I used previously. (pinging @witty-crayon-22786 in particular since he’s seen the JvmProcess
work thus far)curved-television-6568
02/02/2022, 8:34 AM--loop
flag does not seem to do anything when running in a builtin goal..?curved-television-6568
02/02/2022, 9:35 PMbitter-ability-32190
02/02/2022, 9:42 PMFailed to resolve requirements from PEX environment
after updating pytest's lockfile 🧵bitter-ability-32190
02/02/2022, 9:52 PMcheck
? So probably out. But like that it completely mirrors mypy
• https://github.com/typeddjango/pytest-mypy-plugins -- I don't like the YAML personally
• https://github.com/davidfritzsche/pytest-mypy-testing -- Seems easy to integrate, but would there be pitfalls when running with Pants?shy-advantage-49800
02/02/2022, 11:05 PMpants-jupyter-plugin
with Python 3.10? 🙏 Assuming that only the version change is needed, if it's more than that, I can try to help. 😗hundreds-father-404
02/03/2022, 4:09 PMwide-midnight-78598
02/03/2022, 4:46 PMValueError: not enough values to unpack (expected 1, got 0)
for parse_requirements (full stacktrace in thread).
Can that pants_from_sources
be run (to test) without editing? Or do I need to fill out the backend_packages, pythonpath, and plugins for it to work?ancient-vegetable-10556
02/03/2022, 9:13 PMhundreds-father-404
02/03/2022, 10:37 PMhundreds-father-404
02/04/2022, 12:18 AMlint --only
and friendscurved-television-6568
02/04/2022, 4:38 PMgit rev-parse --show-toplevel
seems like a robust way of locating the repo root, in case of git repos at least. And in doing so, any specs could be treated as relative to where you invoked pants.witty-crayon-22786
02/04/2022, 6:48 PMoverrides
while finalizing the syntax with @
first, followed by #
. after thinking it through, i agree, and have updated the design doc to swap those back, and to add a section on the topichundreds-father-404
02/04/2022, 6:50 PMdependencies
on Python targets