Commit Graph

15 Commits

Author SHA1 Message Date
Vitaly Legchilkin
c5ca662b4b [python] implement python package manager actions (PY-79451)
* PythonPackageManagerJobService.kt added to manage tool jobs
* Base PythonPackageManagerAction.kt was added to cover all python package manager actions
* Implementations for Poetry / Hatch / uv
* Poetry pyproject.toml watcher was removed (replaced with poetry actions)

(cherry picked from commit 0bbc5a7802826674140ca1c80be27b6cd7d0f59e)

GitOrigin-RevId: d3b6486ca9a24ecd7188e8c5308fb38aae5ed318
2025-05-08 12:48:27 +00:00
Vitaly Legchilkin
3a40a9b2c0 [python][hatch] create module structure only for pure python projects (PY-79939)
+ add work directory and hatch env name to hatch sdk data
+ support hatch run on cli level

(cherry picked from commit 4782bc52fcd23775b51903ae05f2575f574401cc)

GitOrigin-RevId: d57c085b47e1e51b4a836d3a588423d335fb96a4
2025-03-25 21:47:47 +00:00
Vitaly Legchilkin
76d942b68c [python] adjust to the eel old-style move
GitOrigin-RevId: 55eeebce527b00abc5cfba3d7ce6a9cc8c85feac
2025-03-13 19:20:41 +00:00
Vitaly Legchilkin
117bb0bac3 [python] Code Review Changes(PY-60410)
(cherry picked from commit c4054e33a65db334dd5c9c2a7e2e6a9b38766eb2)

GitOrigin-RevId: 25c09b2ef5e9c0869bfc7a9b480b4811bc062a1b
2025-03-13 19:20:41 +00:00
Vitaly Legchilkin
1cec7c310d [python] add concurrency limit for env resolving (PY-60410)
+ change required background thread to explicit withContext(IO) where it is needed.

(cherry picked from commit 79948000391765fcf0b8c24d1814a8dbe52d83a2)

GitOrigin-RevId: f34106d8b552f2f31a765f9dddccf5529469aea2
2025-03-13 19:20:41 +00:00
Vitaly Legchilkin
d7b6fc4a9e [python][hatch] support matrix environments (PY-60410)
+ add HatchServiceTest

(cherry picked from commit a19006a801ca5848ec3bc5a0398c17e4516c10bb)

GitOrigin-RevId: 7ed63ec24efaece3fc42fd8a02eba5d25d49e23c
2025-03-13 19:20:41 +00:00
Vitaly Legchilkin
fa9d6dd755 [python][hatch] add HatchService (PY-60410)
HatchService is the middle layer API and has the CliBasedHatchService implementation.
For now it allows to:
* manage virtual environments
* detect if the project is managed by Hatch (hatch.toml or [tool.hatch.*] sections in project.toml)
* create a new project structure (might be reused in 'welcome script' on new projects)

(cherry picked from commit f19210180e69bfd968bcc4cfdcf3a1b7925e3841)

GitOrigin-RevId: fa0d1fc7cfab1a8d327f72709fe5afcbbe33bffa
2025-03-13 19:20:41 +00:00
David Lysenko
a782da7be5 [pycharm] PY-78648 Resolve uv correctly on windows
GitOrigin-RevId: f280a79ce566d43682fd77da735d037fff2e9ed3
2025-02-17 13:58:20 +00:00
Vladimir Krivosheev
2744060f54 IJ-CR-146078 add support for whenGuards, set 17 as default jvm target for custom kotlinc opts
GitOrigin-RevId: 9b107d08ff3b588c3c5099a95276ac714ac6ea19
2025-02-17 12:06:29 +00:00
Vladimir Krivosheev
3599f1909f update bazel files
GitOrigin-RevId: 5bbd03b7b8439e9d917275ebbb320df4cd63e8d6
2025-02-13 08:51:32 +00:00
Vitaly Legchilkin
10c1a56720 [python] get real temp dir paths in test (PY-60410)
on MacOS X there is a symlink /private/var to /var. TempDir fixture returns a path without it, i.e. "/var/....". But the real path is "/private/var/...".

GitOrigin-RevId: 58b14d9ebe565396cb5e0acb5ee00795ac4e459e
2025-02-12 21:19:30 +00:00
Vitaly Legchilkin
f4417e0055 [python] add hatch constants (PY-60410)
GitOrigin-RevId: ee70a8086df97880b84fd24de5dea9e4eebfb1bd
2025-02-12 21:19:30 +00:00
Vitaly Legchilkin
5612bb30e7 [python] add hatch to community project and remove empty test folder (PY-60410)
GitOrigin-RevId: 21c725956f0d9d67ff38147a4c979a35ba6a4daf
2025-02-12 21:19:30 +00:00
Vitaly Legchilkin
3985d64dfe [python] adjust some docs (PY-60410)
GitOrigin-RevId: 937452a46421525b96b6c75c2f80c875871d3349
2025-02-12 21:19:30 +00:00
Vitaly Legchilkin
d2399da250 [python] Add Python Hatch module with its command line api (PY-60410)
+ python-hatch - a new module for Hatch-related logic (https://hatch.pypa.io/)
+ low level api for Hatch (/cli)

GitOrigin-RevId: 0be00c7b279dda4dd9ace2835749fa376f242243
2025-02-12 21:19:30 +00:00