Package Details: pycharm-professional 2024.3.1.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: 3.12
First Submitted: 2013-09-25 03:56 (UTC)
Last Updated: 2024-12-20 14:57 (UTC)

Dependencies (19)

Required by (0)

Sources (4)

Pinned Comments

Xavier commented on 2024-12-20 15:15 (UTC)

MANUAL INTERVENTION FOR v2024.3.1.1:

Due to the latest changes for the cython speed up, this release is going to show a commit transaction conflicting files, to fix this you need to enable Cython Speed ​​Up file overwriting:

[aur helper] pycharm-professional --overwrite '/opt/pycharm-professional/plugins/python-ce/helpers/pydev/*'

or after manual build:

sudo pacman -U pycharm-professional-2024.3.1.1-1-x86_64.pkg.tar.zst --overwrite '/opt/pycharm-professional/plugins/python-ce/helpers/pydev/*'

Latest Comments

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

Xavier commented on 2024-12-20 15:15 (UTC)

MANUAL INTERVENTION FOR v2024.3.1.1:

Due to the latest changes for the cython speed up, this release is going to show a commit transaction conflicting files, to fix this you need to enable Cython Speed ​​Up file overwriting:

[aur helper] pycharm-professional --overwrite '/opt/pycharm-professional/plugins/python-ce/helpers/pydev/*'

or after manual build:

sudo pacman -U pycharm-professional-2024.3.1.1-1-x86_64.pkg.tar.zst --overwrite '/opt/pycharm-professional/plugins/python-ce/helpers/pydev/*'

Xavier commented on 2024-12-20 15:06 (UTC)

@0xc0ffee I prefer to compile the Cython speed up for the package rather than letting the user download it, but it is good to know that exist that option, thanks!. Due to some post-installation issues I moved the cython speed up into the PKGBUILD.

@Poscat @MikeBreytenbach for the next release I'm going to check that option, thanks.

0xc0ffee commented on 2024-12-17 02:14 (UTC)

@supply730 I encountered the same error while installing the built package using Manjaro's pamac manager. It seems the issue is specific to pamac, as neither libalpm nor pacman contain the language "Error while configuring <XXX>" in their source. I believe pamac will alarm if the keyword "error" presents in the output of the post-installation scriptlet (in this case, triggered by gcc's -Werror= flag): https://github.com/manjaro/libpamac/blob/49bfde599ed00c127869a2797b5bb26e28e11c2a/src/alpm_utils.vala#L2161

I see nothing wrong after the installation and those built products are there as expected. I got no alarm if I install the built package with pacman.

BTW, I think it's advisable to not include this process in the PKGBUILD, as those shared libraries are best built on the system running PyCharm. Otherwise JetBrains would have supplied those binaries in their release tarball: https://www.jetbrains.com/help/pycharm/cython-speedups.html

MikeBreytenbach commented on 2024-11-29 19:46 (UTC) (edited on 2024-11-29 19:48 (UTC) by MikeBreytenbach)

ChatGPT says it is possible to have PKGBUILD detect if the user has jdk21-jetbrains-bin installed, and if they do, offer them the option to use that instead of the bundled one:

if pacman -Q jdk21-jetbrains-bin > /dev/null 2>&1; then
  echo "Detected jdk21-jetbrains-bin. Would you like to use this instead of the bundled JetBrains JDK? (y/N)"
  read use_system_jdk
  if [[ $use_system_jdk == "y" || $use_system_jdk == "Y" ]]; then
    export JDK_PATH="/usr/lib/jvm/jdk21-jetbrains-bin"
  else
    export JDK_PATH="bundled_jdk_path"
  fi
fi

Xavier commented on 2024-11-29 19:29 (UTC)

@poscat sorry for my late response, I don't feel good about that idea, depending on another aur package managed by someone else, that could cause me to have to wait until they update this package for new releases, for instance, among other issues.

Poscat commented on 2024-11-22 04:36 (UTC)

Yes, but I'm using the package jdk21-jetbrains-bin for other jetbrains products.

Xavier commented on 2024-11-20 18:36 (UTC)

@postcat, It is not recommended at least for the professional version, Jetbrains applies several patches to the JDK, so it is better to use the JDK provided by them.

Poscat commented on 2024-11-20 12:13 (UTC)

Any chance of separating out the jdk? Hate having to duplicate jetbrains jdk on my machine.

supply730 commented on 2024-09-30 20:11 (UTC) (edited on 2024-09-30 20:16 (UTC) by supply730)

Yes, it might just be a bit confusing in the end, but PyCharm itself works fine.

Moving the compilation of the speed-ups into the PKGBUILD could be a good solution though.

Anyway, thanks for the quick reply.