From unknown Tue Apr 28 03:32:10 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.507 (Entity 5.507)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#1287 closed by Mike Gabriel Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (X2Go issue (in src:pyhoca-cli) has been marked as closed)
Message-ID: <handler.1287.c.153732907719927.notifdone@bugs.x2go.org>
References: <20180919035059.C5C135DACE@ymir.das-netzwerkteam.de>
X-X2go-PR-Keywords: pending
X-X2go-PR-Message: they-closed 1287
X-X2go-PR-Package: pyhoca-cli
X-X2go-PR-Source: pyhoca-cli
Date: Wed, 19 Sep 2018 03:55:10 +0000
Content-Type: multipart/mixed; boundary="----------=_1537329310-20984-0"

This is a multi-part message in MIME format...

------------=_1537329310-20984-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the pyhoca-cli package:

#1287: Drop file() from pyhoca-cli

It has been closed by Mike Gabriel Mike Gabriel <mike.gabriel@das-netzwerkt=
eam.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mike Gabriel Mike Gabr=
iel <mike.gabriel@das-netzwerkteam.de> by
replying to this email.


--=20
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1537329310-20984-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at control) by bugs.x2go.org; 19 Sep 2018 03:51:17 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,NO_RELAYS,
	URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.1
Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005)
	id C5C135DACE; Wed, 19 Sep 2018 05:50:59 +0200 (CEST)
From: =?utf-8?q?Mike_Gabriel?= Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 1287-submitter@bugs.x2go.org
Cc: control@bugs.x2go.org, 1287@bugs.x2go.org
Subject: X2Go issue (in src:pyhoca-cli) has been marked as closed
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Message-Id: <20180919035059.C5C135DACE@ymir.das-netzwerkteam.de>
Date: Wed, 19 Sep 2018 05:50:59 +0200 (CEST)

close #1287
thanks

Hello,

we are very hopeful that X2Go issue #1287 reported by you
has been resolved in the new release (0.6.0.0) of the
X2Go source project »src:pyhoca-cli«.

You can view the complete changelog entry of src:pyhoca-cli (0.6.0.0)
below, and you can use the following link to view all the code changes
between this and the last release of src:pyhoca-cli.

    http://code.x2go.org/gitweb?p=pyhoca-cli.git;a=commitdiff;h=1546795abc2ce7ff86851bdbc8658c8e38adcec9;hp=87b6c71c4966ca9abf7139e39c3d122143dded80

If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:pyhoca-cli.

Thanks a lot for contributing to X2Go!!!

light+love
X2Go Git Admin (on behalf of the sender of this mail)

---
X2Go Component: src:pyhoca-cli
Version: 0.6.0.0-0x2go1
Status: RELEASE
Date: Tue, 18 Sep 2018 19:14:37 +0000
Fixes: 984 1287 1308
Changes:
 pyhoca-cli (0.6.0.0-0x2go1) RELEASED; urgency=medium
 .
   * New upstream version (0.5.99.1).
     - Port to Python3. (Fixes: #1287).
     - Add --force-password command line switch to override SSH key detection
       code.
     - Add --try-resume cmd line option and feature.
     - setup.py: Fix version string detection. (Copy+paste flaw...).
     - Fix duplicate password prompt. Regression fix.
     - keyboard handling: Switch to kbd-type auto and kbd-layout null. Should
       auto-detect the client-side keyboard in the X2Go session just fine.
     - pyhoca-cli main programme: Check for DISPLAY env var being set and having
       a usable / expectable value.
     - Add --forward-sshagent / -A cmdline option for enabling SSH agent
       forwarding.
     - Entirely rewrite PyHocaCLI.authenticate() function. (Fixes: #1308).
     - Fix --share-local-folders (aka -F) option and really mount shared folders.
       (Fixes: #984).
     - Make important options work like with OpenSSH's command-line client.
       E.g. pyhoca-cli -l <user> -i <key> -A <host>. This can still be improved
       but helps for now a big deal.
   * debian/rules:
     + Build for Python3, not Python2.
     + Switch to pybuild DH build system.
     + Enforce Python3 build, fix FTBFS.
     + Ignore failures during dh_auto_clean. Helps with build envs that don't have
       python3-setuptools installed when building source packages.
   * debian/control:
     + Fix src:pkg header part.
     + Switch to python3-* dependencies.
     + White-space fix.
     + Bump versioned D (pyhoca-cli): python-x2go (>= 0.5.99.0~).
     + Drop D (pyhoca-cli): python3-argparse. Part of stdlib in Python3
       these days.
   * debian/{control,compat}: Bump to DH version level 9.


------------=_1537329310-20984-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 14 Apr 2018 17:31:39 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 4F5F35DAEA
	for <submit@bugs.x2go.org>; Sat, 14 Apr 2018 19:31:38 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id SA6l_z_kjmXs for <submit@bugs.x2go.org>;
	Sat, 14 Apr 2018 19:31:33 +0200 (CEST)
Received: from mail.nwra.com (mail.nwra.com [72.52.192.72])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B071E5DA96
	for <submit@bugs.x2go.org>; Sat, 14 Apr 2018 19:31:32 +0200 (CEST)
Received: from pacas.cora.nwra.com (inferno.cora.nwra.com [208.187.183.84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail.nwra.com (Postfix) with ESMTPSA id B9290340034
	for <submit@bugs.x2go.org>; Sat, 14 Apr 2018 10:31:30 -0700 (PDT)
To: submit@bugs.x2go.org
From: Orion Poplawski <orion@nwra.com>
Subject: Drop file() from pyhoca-cli
Organization: NorthWest Research Associates
Message-ID: <6c4d9c57-af03-624a-1d06-92d09d4a1815@nwra.com>
Date: Sat, 14 Apr 2018 11:31:28 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.7.0
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------8621F0BC76DC9D49E674A117"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------8621F0BC76DC9D49E674A117
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Package: pyhoca-cli
Version: 0.5.0.4

file() is not present in python3.

-- 
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@nwra.com
Boulder, CO 80301                 https://www.nwra.com/

--------------8621F0BC76DC9D49E674A117
Content-Type: text/x-patch;
 name="pyhoca-cli-file.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="pyhoca-cli-file.patch"

diff -up pyhoca-cli-0.5.0.4/setup.py.file pyhoca-cli-0.5.0.4/setup.py
--- pyhoca-cli-0.5.0.4/setup.py.file	2017-09-24 01:58:51.000000000 -0600
+++ pyhoca-cli-0.5.0.4/setup.py	2018-04-13 19:44:37.560837443 -0600
@@ -24,7 +24,7 @@ from setuptools import setup
 
 # silence pyflakes, __VERSION__ is properly assigned below...
 __VERSION__ = '0.0.0.0'
-for line in file(os.path.join('pyhoca', 'cli', '__init__.py')).readlines():
+for line in open(os.path.join('pyhoca', 'cli', '__init__.py'),'r').readlines():
     if (line.startswith('__VERSION__')):
         exec(line.strip())
 PROGRAM_VERSION = __VERSION__

--------------8621F0BC76DC9D49E674A117--

------------=_1537329310-20984-0--
