maintainer-feedback requested: [Bug 264000] lang/python39: Fix build with LibreSSL 3.5

2022-05-15 Thread bugzilla-noreply
Bugzilla Automation  has asked freebsd-python (Nobody)
 for maintainer-feedback:
Bug 264000: lang/python39: Fix build with LibreSSL 3.5
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264000



--- Description ---
```
lang/python39: Fix build with LibreSSL 3.5

 * from OpenBSD ports
  
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/lang/python/3.9/patch
es/patch-Modules__hashopenssl_c?rev=1.4&content-type=text/plain

PR: ?
```



[Bug 264000] lang/python39: Fix build with LibreSSL 3.5

2022-05-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264000

Bug ID: 264000
   Summary: lang/python39: Fix build with LibreSSL 3.5
   Product: Ports & Packages
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: Individual Port(s)
  Assignee: python@FreeBSD.org
  Reporter: br...@freebsd.org
  Assignee: python@FreeBSD.org
 Flags: maintainer-feedback?(python@FreeBSD.org)

Created attachment 233939
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233939&action=edit
git diff for lang/python39

```
lang/python39: Fix build with LibreSSL 3.5

 * from OpenBSD ports
  
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/lang/python/3.9/patches/patch-Modules__hashopenssl_c?rev=1.4&content-type=text/plain

PR: ?
```

-- 
You are receiving this mail because:
You are the assignee for the bug.


Problem reports for python@FreeBSD.org that need special attention

2022-05-15 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+---
Open|205308 | devel/py-pip and devel/py-virtualenv don't aggree 
Open|240343 | x11-themes/plasma5-breeze-gtk: Fails to build if  
Open|242896 | lang/python*: Fail to package in poudriere (testp 
Open|256699 | lang/python38: Fails to configure when IPv6 not s 
Open|257362 | lang/python3: Add link for python3-embed.pc where 
Open|258192 | devel/py-pyinstaller: Fails to run on 3.8+. Fix i 
New |261505 | textproc/py-sphinx: Update to 4.4.0   
In Progress |255025 | textproc/py-chardet: Update to 4.0.0  
Open|257353 | lang/python38: Intermittently fails to build unde 
New |262250 | [exp-run] devel/py-setuptools: Update to 62.1.0   
Open|261703 | Mk/bsd.default-versions.mk: Switch default Python 
In Progress |241416 | [NEW PORT] lang/python38  
Open|234981 | graphics/py-wand: Add DOCS option Pass MAINTAINER 
Open|260448 | [NEW] devel/py-aiosignal: Project to manage callb 
Open|262109 | Mk/Uses/python.mk: Improve CMake/Python integrati 
Open|224115 | devel/py-babel directory name != port name
In Progress |258195 | lang/python38: Update to 3.8.12   
New |231555 | Mk/Uses/python.mk: Add USE_PYTHON=pytest  

18 problems total for which you should take action.


[Bug 264000] lang/python39: Fix build with LibreSSL 3.5

2022-05-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264000

Kubilay Kocak  changed:

   What|Removed |Added

   Keywords||needs-qa
 Status|New |Open

--- Comment #1 from Kubilay Kocak  ---
Thanks for the report Bernard. Are other lang/python* ports affected?

-- 
You are receiving this mail because:
You are the assignee for the bug.


textproc/py-m2r: Incompletely specified dependency

2022-05-15 Thread Kubilay Kocak

Hi Sunpoet,

The following commit updated textproc/py-m2r changing its dependency to 
a new port origin, due to mistune API incompatibilities > 2.x but the no 
dependency  is declared (>=0)


https://cgit.freebsd.org/ports/commit/?id=995255a5684df6ff950a347555632c569b31365b



${PYTHON_PKGNAMEPREFIX}mistune0>=0:textproc/py-mistune0@${PY_FLAVOR}



This causes the following failure at build time for users with mistune 
installed, as the dependency is (incorrectly) satisfied by the installed 
mistune (2.x) version:



  return '\ :math:`{}`\ '.format(math)
Traceback (most recent call last):
  File "", line 1, in 
  File "setup.py", line 14, in 
from m2r import parse_from_file
  File 
"/var/tmp/tmpfs0/usr/home/koobs/repos/freebsd/ports/textproc/py-m2r/work-py39/m2r-0.2.1/m2r.py",
 line 59, in 
class RestBlockGrammar(mistune.BlockGrammar):
AttributeError: module 'mistune' has no attribute 'BlockGrammar'
*** Error code 1


Please set a correct  for the mistune dependency:


  ${PYTHON_PKGNAMEPREFIX}mistune0<2:textproc/py-mistune0@${PY_FLAVOR}

This will cause mistune0 to be installed. The issue of conflicting ports 
is left as a separate exercise.


See also:

https://github.com/miyakogi/m2r/issues/66
https://github.com/miyakogi/m2r/pull/43/files

Thanks,

koobs






[Bug 264000] lang/python39: Fix build with LibreSSL 3.5

2022-05-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264000

Charlie Li  changed:

   What|Removed |Added

 CC||vish...@freebsd.org

--- Comment #2 from Charlie Li  ---
This probably also applies to 3.8 and 3.7 since iirc/assuming the ssl module
code is more or less the same between them. 3.10 and later need a different fix
to (continue) support LibreSSL (which I'm still dogfooding)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 264000] lang/python*: Fix build with LibreSSL 3.5

2022-05-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264000

Kubilay Kocak  changed:

   What|Removed |Added

Summary|lang/python39: Fix build|lang/python*: Fix build
   |with LibreSSL 3.5   |with LibreSSL 3.5
   Keywords||needs-patch

--- Comment #3 from Kubilay Kocak  ---
(In reply to Charlie Li from comment #2)

-- 
You are receiving this mail because:
You are the assignee for the bug.