[Bug 244463] [exp-run] lang/python37: Remove the LIBFFI option

2020-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244463

Mathieu Arnold  changed:

   What|Removed |Added

   Assignee|port...@freebsd.org |pyt...@freebsd.org

--- Comment #2 from Mathieu Arnold  ---
This should be assigned to python@, I do not see what portmgr can or needs to
do here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 244463] [exp-run] lang/python37: Remove the LIBFFI option

2020-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244463

--- Comment #3 from Wen Heping  ---
(In reply to Mathieu Arnold from comment #2)
Ask for a exp-run here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Missing symbol under tox in openssl stuff

2020-02-27 Thread Willem Jan Withagen
Hi,

I'm the first to acknowledge that I do not know enough of python.
But still I can get by most of the times.

However during the tests of my Ceph port one of the tests complains:
==

orchestrator/_interface.py:701: ImportError
-- Captured log call ---
ERRORorchestrator._interface:_interface.py:391 _Promise failed
Traceback (most recent call last):
  File "/home/jenkins/workspace/ceph-master/src/pybind/mgr/cephadm/module.py", 
line 334, in do_work
res = self._on_complete_(*args, **kwargs)
  File "/home/jenkins/workspace/ceph-master/src/pybind/mgr/cephadm/module.py", 
line 398, in call_self
return f(self, *inner_args)
  File "/home/jenkins/workspace/ceph-master/src/pybind/mgr/cephadm/module.py", 
line 2352, in _create_grafana
return self._create_daemon('grafana', daemon_id, host)
  File "/home/jenkins/workspace/ceph-master/src/pybind/mgr/cephadm/module.py", 
line 1874, in _create_daemon
j = self._generate_grafana_config()
  File "/home/jenkins/workspace/ceph-master/src/pybind/mgr/cephadm/module.py", 
line 2288, in _generate_grafana_config
cert, pkey = create_self_signed_cert('Ceph', 'cephadm')
  File "/home/jenkins/workspace/ceph-master/src/pybind/mgr/mgr_util.py", line 
134, in create_self_signed_cert
from OpenSSL import crypto
  File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/.tox/py3/lib/python3.7/site-packages/OpenSSL/__init__.py",
 line 8, in 
from OpenSSL import crypto, SSL
  File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/.tox/py3/lib/python3.7/site-packages/OpenSSL/crypto.py",
 line 15, in 
from OpenSSL._util import (
  File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/.tox/py3/lib/python3.7/site-packages/OpenSSL/_util.py",
 line 6, in 
from cryptography.hazmat.bindings.openssl.binding import Binding
  File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/.tox/py3/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py",
 line 15, in 
from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: 
/home/jenkins/workspace/ceph-master/src/pybind/mgr/.tox/py3/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so:
 Undefined symbol "SSLv3_client_method"

==

And I have no idea how and why this complaint is here.
If I check with openssl it seems that this version should be available 
in version 1.1.1,d that is installed.

And all packages are up to date.

Who is the casue of the error here?
And how do I debug this

--WjW
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Missing symbol under tox in openssl stuff

2020-02-27 Thread Kubilay Kocak
On 27/02/2020 10:53 pm, Willem Jan Withagen wrote:

Hi,

I'm the first to acknowledge that I do not know enough of python.
But still I can get by most of the times.

However during the tests of my Ceph port one of the tests complains:
==

orchestrator/_interface.py:701: ImportError
-- Captured log call 
---

ERROR    orchestrator._interface:_interface.py:391 _Promise failed
Traceback (most recent call last):
   File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/cephadm/module.py", 
line 334, in do_work

     res = self._on_complete_(*args, **kwargs)
   File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/cephadm/module.py", 
line 398, in call_self

     return f(self, *inner_args)
   File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/cephadm/module.py", 
line 2352, in _create_grafana

     return self._create_daemon('grafana', daemon_id, host)
   File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/cephadm/module.py", 
line 1874, in _create_daemon

     j = self._generate_grafana_config()
   File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/cephadm/module.py", 
line 2288, in _generate_grafana_config

     cert, pkey = create_self_signed_cert('Ceph', 'cephadm')
   File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/mgr_util.py", line 
134, in create_self_signed_cert

     from OpenSSL import crypto
   File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/.tox/py3/lib/python3.7/site-packages/OpenSSL/__init__.py", 
line 8, in 

     from OpenSSL import crypto, SSL
   File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/.tox/py3/lib/python3.7/site-packages/OpenSSL/crypto.py", 
line 15, in 

     from OpenSSL._util import (
   File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/.tox/py3/lib/python3.7/site-packages/OpenSSL/_util.py", 
line 6, in 

     from cryptography.hazmat.bindings.openssl.binding import Binding
   File 
"/home/jenkins/workspace/ceph-master/src/pybind/mgr/.tox/py3/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", 
line 15, in 

     from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: 
/home/jenkins/workspace/ceph-master/src/pybind/mgr/.tox/py3/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: 
Undefined symbol "SSLv3_client_method"


==

And I have no idea how and why this complaint is here.
If I check with openssl it seems that this version should be available 
in version 1.1.1,d that is installed.

And all packages are up to date.

Who is the casue of the error here?
And how do I debug this

--WjW


Looks like cryptography is compiled/linked inconsistently, probably 
against base *and* ports OpenSSl versions, or some OPTIONS in your 
openssl port have changed, but cryptography was not rebuilt


Rebuild cryptography (via ports), and try to reproduce

Alternatively, because tox installs dependencies itself in its own 
environments, its probably trying to install crytography manually (not 
via the port), which produces a broken cryptography Python package.


This is why we dont use tox for tests (as it bypasses ports). Use the 
test runner that tox itself invokes (pytest, nose, unittest, whatever)




___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 244486] [NEW PORT] www/py-helium: Python library for automating web browsers

2020-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244486

Kubilay Kocak  changed:

   What|Removed |Added

Summary|[NEW PORT]: www/py-helium:  |[NEW PORT] www/py-helium:
   |Python library for  |Python library for
   |automating web browsers |automating web browsers
URL|https://reviews.freebsd.org |https://github.com/mherrman
   |/D23864 |n/helium
 CC||pyt...@freebsd.org
   Severity|Affects Many People |Affects Only Me
   Keywords||feature, needs-qa
 Status|New |Open

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"