Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conf-python-3 - update freebsd python packages #24652

Merged
merged 6 commits into from
Oct 26, 2023

Conversation

haochenx
Copy link
Collaborator

@haochenx haochenx commented Oct 21, 2023

The following actions will be performed:
=== recompile 1 package
  ↻ atdpy              2.14.1 (pinned)
=== install 10 packages
  ∗ alcotest           1.7.0           [required by atdpy]
  ∗ astring            0.8.5           [required by alcotest]
  ∗ conf-python-3      9.0.0           [required by atdpy]
  ∗ fmt                0.9.0           [required by alcotest]
  ∗ ocaml-syntax-shims 1.0.0           [required by alcotest]
  ∗ ocamlbuild         0.14.2          [required by fmt, astring, uutf]
  ∗ ocamlfind          1.9.6           [required by fmt, astring, uutf]
  ∗ stdlib-shims       0.3.0           [required by alcotest]
  ∗ topkg              1.0.7           [required by fmt, astring, uutf]
  ∗ uutf               1.0.3           [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved alcotest.1.7.0  (https://github.com/mirage/alcotest/releases/download/1.7.0/alcotest-1.7.0.tbz)
⬇ retrieved astring.0.8.5  (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)

#=== ERROR while compiling conf-python-3.9.0.0 ================================#
"python3": command not found.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ ⬇ fetch fmt           0.9.0
│ λ build conf-python-3 9.0.0
└─ 
╶─ No changes have been performed

@haochenx haochenx changed the title conf-python-3.1.0.0 - change freebsd python package to lang/python3 from lang/python36 conf-python-3 - update freebsd python packages Oct 21, 2023
@haochenx
Copy link
Collaborator Author

Still getting the following error for 3.9.0.0

conf-python-3.9.0.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  ∗ conf-python-3 9.0.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>

#=== ERROR while compiling conf-python-3.9.0.0 ================================#
"python3": command not found.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build conf-python-3 9.0.0
└─ 
╶─ No changes have been performed

likely that FreeBSD’s python39 does not make a python3 symlink under the sys bin automatically.

@haochenx
Copy link
Collaborator Author

Suspicion confirmed: https://forums.freebsd.org/threads/which-python-calls-to-python3-dead-end.74981/

Not sure what to do as I am not so sure about creating a system wide symbolic link for in a conf package. Creating a switch specific link is probably a way to go, but I’ll opt to tentatively mark 3.9.0.0 as unavailable for FreeBSD as 3.1.0.0 works.

@haochenx
Copy link
Collaborator Author

Indeed, I think we should probably reorganize versions to have a conf-python3.1 as the only version to be on par with other conf packages

@@ -17,7 +17,7 @@ depexts: [
["dev-lang/python:3.6"] {os-distribution = "gentoo"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
["dev-lang/python:3.6"] {os-distribution = "gentoo"}
["dev-lang/python:3.9"] {os-distribution = "gentoo"}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I won't do this since I don't know if it works

@mseri mseri merged commit e77b091 into ocaml:master Oct 26, 2023
1 check failed
@mseri
Copy link
Member

mseri commented Oct 26, 2023

Thanks for the help and the patience @haochenx

@haochenx haochenx deleted the freebsd-python3 branch November 6, 2023 03:44
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
* update freebsd conf-python-3 system packages

* mark conf-python-3.9.0.0 unavailable for FreeBSD

* Update opam

* Update opam

* Update packages/conf-python-3/conf-python-3.9.0.0/opam

* conf-pyhton-3: fix for freebsd

---------

Co-authored-by: Marcello Seri <mseri@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants