Package Details: pycharm-professional 2025.1-1

Git Clone URL: https://aur.archlinux.org/pycharm-professional.git (read-only, click to copy)
Package Base: pycharm-professional
Description: Python IDE for Professional Developers. Professional Edition
Upstream URL: https://www.jetbrains.com/pycharm/
Keywords: development editor ide jetbrains python
Licenses: custom
Submitter: hippojazz
Maintainer: Xavier (37h4n)
Last Packager: Xavier
Votes: 292
Popularity: 0.32
First Submitted: 2013-09-25 03:56 (UTC)
Last Updated: 2025-04-17 13:27 (UTC)

Dependencies (19)

Required by (0)

Sources (4)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 46 Next › Last »

XenGi commented on 2025-04-23 08:03 (UTC) (edited on 2025-04-23 08:16 (UTC) by XenGi)

Even after clearing the cache, pycharm fails to build for me with yay:

==> Starting build()...
:: Building Cython speed-ups
Traceback (most recent call last):
  File "/home/xengi/.cache/yay/pycharm-professional/src/pycharm-2025.1/./plugins/python-ce/helpers/pydev/setup_cython.py", line 16, in <module>
    from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pycharm-professional-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
pycharm-professional - exit status 4

makedepends=('python-setuptools' 'cython') seems to be fine though.

Builds just fine with makepkg and pkgctl build.

Xavier commented on 2025-04-17 13:35 (UTC)

I'm agree with having a single package called "pycharm," but where? I just emailed the maintainers of "pycharm-community-edition" to see how best to proceed. While I wait for their response, I've just updated this with the current name. I'll keep you posted on any updates.

Ashark commented on 2025-04-17 08:33 (UTC)

@nonZero Yeah, I agree. Needs renaming to just "pycharm". The question is, will not this name wanted to be used by the official package "pycharm-community-edition" from [extra]?

nonZero commented on 2025-04-17 07:35 (UTC) (edited on 2025-04-17 07:36 (UTC) by nonZero)

As pycharm is moving to a "united" approach, eliminating "professional" and "community" distinction, maybe it is time to rename the package to "pycharm"? https://blog.jetbrains.com/pycharm/2025/04/unified-pycharm/

Xavier commented on 2025-03-29 01:44 (UTC)

@tilx, read these instructions on https://aur.archlinux.org/packages/pycharm-professional#comment-1002854 about manual intervention after update v2024.3.1.1

tilx commented on 2025-03-28 09:28 (UTC) (edited on 2025-03-28 09:31 (UTC) by tilx)

I got an error upgrading PyCharm:

error: failed to commit transaction (conflicting files)
pycharm-professional: /opt/pycharm-professional/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so exists in filesystem

Renaming the existing file let me complete the upgrade.

There is only a small difference between the binaries:

$ cmp -l /opt/pycharm-professional/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so{,.old}
  745 224 204
  746 267 214
  747 216 345
  748  66 312
  749 275 244
  750  31 316
  751 151 163
  752  51 342
  753 312  33
  754  16 266
  755 153  15
  756  77 355
  757 173 176
  758 366 326
  759 143 240
  760 132  76
  761 140  60
  762 176 273
  763   2 367
  764 253 333
24878  65  64
24880  62  71
24881  60  61
24882  67  60

hornobster commented on 2025-02-08 16:55 (UTC) (edited on 2025-02-08 17:45 (UTC) by hornobster)

@Xavier I still can't get it to work.

I have downloaded the package source with yay -G pycharm-professional, built the package with makepkg without touching the PKGBUILD first, and then retried after deleting both prepare() and build() from PKBUILD.

For now I am running all debug sessions with PYDEVD_USE_CYTHON=NO;PYDEVD_USE_FRAME_EVAL=NO as env variables.

EDIT: I think the problem is that the Cython extension is compiled for the system python, python 3.13, while I'm trying to debug a script in a venv for python 3.12. I don't know if there is a proper way of doing this.

EDIT 2: That was the problem. In PKGBUILD build() I have added a second extension compilation like so:

    # compile PyDev debugger used by PyCharm to speedup debugging
    python ./plugins/python-ce/helpers/pydev/setup_cython.py build_ext --inplace --force-cython
    /home/user/.pyenv/versions/3.12.8/bin/python ./plugins/python-ce/helpers/pydev/setup_cython.py build_ext --inplace --force-cython

I don't know if it would make sense to automatically build the extension for each installed pyenv python version in the PKGBUILD.

unbis commented on 2025-02-06 14:17 (UTC)

I just also encountered a speed-up build error

  File "/tmp/pycharm-professional/src/pycharm-2024.3.2/./plugins/python-ce/helpers/pydev/setup_cython.py", line 111, in build_extension
    from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'

took me a while to figure out that I still had the legacy cython0 installed. Using the normal cython instead solved the issue for me. (Thought I'd share this and save somebody else the debugging time.)

Xavier commented on 2025-02-06 12:52 (UTC)

@hornobster, yes the error could be because your PYenv, try to download the source with yay -G and build it manually makepkg in a clean shell. If the problem persists, delete the section prepare() and build() in the pkgbuild file

hornobster commented on 2025-02-06 11:28 (UTC)

I can't make it work. I have reinstalled again in a clean shell with yay pycharm-professional --overwrite '/opt/pycharm-professional/plugins/python-ce/helpers/pydev/*', but nothing changed.

Could it be related to my use of pyenv? PYenv isn't active when installing pycharm, but I use it for my projects (e.g. for python 3.12 venv) and when trying to debug.