ISO: Python package version conflicts

Describe the bug python 37 conflicting with python 38

To Reproduce Steps to reproduce the behavior: sudo pkg install elementary-code

Expected behavioro it should install

Screenshots

[21/50] Installing py38-chardet-4.0.0,1...
pkg.real: py38-chardet-4.0.0,1 conflicts with py37-chardet-3.0.4_3,1 (installs files into the same place).  Problematic file: /usr/local/bin/chardetect

Version (please complete the following information):

Computer (please complete the following information):

  • Device: ASUS Zenbook UX305UA

Additional context It was working fine when I first installed maybe a month ago. Last week, I had to reinstall, and it seems like the FreeBSD repo has changed; VSCode is no longer available, and I got a new version of Chromium (which also broke rounded corners on windows). When I try to install apps wirh python dependencies, I get a version conflict, it is trying to isntall python38 dependencies, but the system is using python37. I think it’s become out of sync with the repo.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 44 (35 by maintainers)

Most upvoted comments

There are no unresolved conflicts. Thanks!

On Sun, Sep 26, 2021, 4:04 AM Graham Perrin @.***> wrote:

Python package version conflicts

@darkoverlordofdata https://github.com/darkoverlordofdata please, does there remain any unresolved conflict?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/helloSystem/ISO/issues/267#issuecomment-927285314, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJUE4XHFFEDQ3WANQYTNI3UD343XANCNFSM5BLRPPVA .

My first reaction to the error was to ‘sudo pkg update’

But the response to this was ‘pkg update is not yet supported in helloSystem’

Could that also be blocking any auto-updating?

On Mon, Aug 2, 2021 at 4:28 PM probonopd @.***> wrote:

Looks like installing LMMS installed a newer Python version but this did not trigger all Python packages to be also updated at the same time?

Is this a conceptual problem with how FreeBSD packages work?

In Debian, when you update Python to a version that requires other packages to be updated as well, it would also update those packages. At least if I am not mistaken.

How could we solve this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/helloSystem/ISO/issues/267#issuecomment-891311446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJUE4VZWCS5AI73BW4OSKDT235XDANCNFSM5BLRPPVA .

Bruce Davidson

I added py38-qt5-webengine, this fixed the Simple Browser example. For the remaining, I found that updating the header from

#!/usr/bin/env python3.7 to #!/usr/bin/env python3.8

fixed it. That just leaves square corners, which sounds like a configuration setting.

I instaled pkg install -qy py38-qt5 py38-pytz py38-dateutil py38-psutil

That fixed some of them. These are still broken:

Zeroconf, StartDisk, Keyboard, Mouse

  • name ‘QtWidgets’ is not defined

SimpleBrowser

  • requires module PyQt5.QtWebEngineWidgets

I understand – you are pre-alpha. It just doesn’t seem like it most of the time. I have another laptop that I use.

I’ve experienced a lot of breakage in the past using the FreeBSD repo. They seem a bit antagonistic toward desktop users – for example they’ve also now removed VSCode. To me, that is the main advantage to using GhostBSD, the repo is desktop friendly.

On Tue, Aug 10, 2021 at 9:40 AM probonopd @.***> wrote:

Yes. All that updating stuff can screw with the system in unexpected ways, like producing version conflicts. This ticket is a proof of it. I don’t know yet how to handle this better.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/helloSystem/ISO/issues/267#issuecomment-896038316, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJUE4TUJGDCONP34UFDFNDT4ET6NANCNFSM5BLRPPVA .

Bruce Davidson