diff --git a/JiraRobot/JiraRobot.py b/JiraRobot/JiraRobot.py index 4ecb000..20e4635 100644 --- a/JiraRobot/JiraRobot.py +++ b/JiraRobot/JiraRobot.py @@ -55,7 +55,7 @@ def connect_to_jira(self, JIRAUsername=None, if JIRAUsername is not None and (JIRAPassword is "" or JIRAPassword is None): JIRAPassword = getpass.getpass("\nJIRA Password: ") - print JIRAUsername + print(JIRAUsername) JIRAOptions = eval(options) if JIRAUsername is None: @@ -101,7 +101,7 @@ def create_issue(self, issue_field_dict, assign_current_user=False): | ${issue} | create issue | ${issue_field_dict} | True | """ issue_field_dict = eval(str(issue_field_dict)) - print issue_field_dict + print(issue_field_dict) new_issue = self.jira.create_issue(issue_field_dict) if assign_current_user is True: diff --git a/JiraRobot/__init__.py b/JiraRobot/__init__.py index 3524913..e02af9b 100644 --- a/JiraRobot/__init__.py +++ b/JiraRobot/__init__.py @@ -14,8 +14,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -from JiraRobot import JiraRobot -from version import VERSION +from .JiraRobot import JiraRobot +from .version import VERSION _version_ = VERSION diff --git a/JiraRobot/version.py b/JiraRobot/version.py index a8887dd..72093a8 100644 --- a/JiraRobot/version.py +++ b/JiraRobot/version.py @@ -14,4 +14,4 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -VERSION = '1.0' +VERSION = '1.1' diff --git a/README.md b/README.md index 64e604e..aeef274 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ JiraRobot is a Robot Framework Library to interact with JIRA through JIRA's REST Requirements ------------ -* Python 2.7.4 (Newer versions not tested) -* Robot Framework 2.8.4 (Newer versions not tested) -* jira 0.25 (python library) (Newer versions not tested) +* Python 3.6 or newer ( tested on 3.8) +* Robot Framework 3.2.2 (Newer versions not tested) +* jira 3.1.1 (python library) (Newer versions not tested) Installation ------------ @@ -72,9 +72,9 @@ To uninstall JiraRobot use the following pip command: However, if the package was installed manually it will need to be uninstalled manually: -1) Navigate to ``C:\Python27`` and delete JiraRobotTests +1) Navigate to ``C:\Python36`` and delete JiraRobotTests -2) Navigate to ``C:\Python27\Lib\site-packages`` and delete JiraRobot-1.0-py2.7.egg-info and the folder ``JiraRobot`` +2) Navigate to ``C:\Python36\Lib\site-packages`` and delete JiraRobot-1.0-py2.7.egg-info and the folder ``JiraRobot`` Directory Layout ---------------- @@ -137,4 +137,4 @@ The [user group for Robot Framework](http://groups.google.com/group/robotframewo - Full description of what you are trying to do and expected outcome - Version number of JiraRobot, Robot Framework, and Jira-Python -- Traceback or other debug output containing error information \ No newline at end of file +- Traceback or other debug output containing error information diff --git a/Tests/Acceptance/JiraRobotTest.txt b/Tests/Acceptance/JiraRobotTest.robot similarity index 100% rename from Tests/Acceptance/JiraRobotTest.txt rename to Tests/Acceptance/JiraRobotTest.robot diff --git a/setup.py b/setup.py index fb80c1e..cf6b67e 100644 --- a/setup.py +++ b/setup.py @@ -42,15 +42,15 @@ "Programming Language :: Python", "Development Status :: 4 - Beta", "Intended Audience :: Developers", - "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Testing", "Topic :: Software Development :: Quality Assurance" ], install_requires = [ - 'robotframework >= 2.8.4', + 'robotframework >= 3.2.2', 'jira >= 0.25' ], packages = ['JiraRobot'], - data_files = [('JiraRobotTests', ['Tests/acceptance/JiraRobotTest.txt', 'Tests/acceptance/FILE.txt', 'Docs/JiraRobot-KeywordDocumentation.html'])], - download_url = 'https://github.com/NaviNet/JiraRobot/tarball/1.0', + data_files = [('JiraRobotTests', ['Tests/Acceptance/JiraRobotTest.txt', 'Tests/Acceptance/FILE.txt', 'Docs/JiraRobot-KeywordDocumentation.html'])], + download_url = 'https://github.com/NaviNet/JiraRobot/tarball/1.1', ) \ No newline at end of file