Date: Sat, 02 Feb 2019 21:59:55 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235441] devel/py-gitosis: issues when upgraded to python3 Message-ID: <bug-235441-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235441 Bug ID: 235441 Summary: devel/py-gitosis: issues when upgraded to python3 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: danmcgrath.ca@gmail.com CC: douglas@douglasthrift.net CC: douglas@douglasthrift.net Flags: maintainer-feedback?(douglas@douglasthrift.net) Hi, I tried an upgrade of py27-gitosis from 2019Q1 (py27-gitosis-0.2.20090917_1= ) to py36 today, but it appears that there were some unforeseen consequences and breakages that prevented our git checkout from working. This is a snippet from the failed checkout attempt: =3D=3D=3D=3D=3D $ git pull Traceback (most recent call last): File "/usr/local/bin/gitosis-serve", line 11, in <module> load_entry_point('gitosis=3D=3D0.2', 'console_scripts', 'gitosis-serve'= )() File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", = line 487, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", = line 2728, in load_entry_point return ep.load() File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", = line 2346, in load return self.resolve() File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", = line 2352, in resolve module =3D __import__(self.module_name, fromlist=3D['__name__'], level= =3D0) File "/usr/local/lib/python3.6/site-packages/gitosis/serve.py", line 142 util.mkdir(p, 0750) ^ SyntaxError: invalid token fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. =3D=3D=3D=3D=3D Someone on our ML was suggesting that: "util.mkdir(p, 0750)" should be: "AFAIK, this should be 0o750 for Python3" but I am not entirely sure here as I am not a python2/3 person! Also, with = the state of gitosis being without a maintainer, I don't know if this bug repor= t is useful beyond getting it indexed by search engines for future explorers to discover :D --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235441-7788>