Skip to content

Commit

Permalink
Merge pull request #465 from python-rope/lieryan-drop-py2
Browse files Browse the repository at this point in the history
Drop Python 2.7 support
  • Loading branch information
lieryan authored Apr 7, 2022
2 parents 0d65d17 + 4da3984 commit 9b91c31
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v2
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# **Upcoming release**

## XXX

- XXX

# Release 1.0.0

Date: 2022-04-08

## Syntax support

- #400 Drop Python 2.7 support

## Bug fixes

- #459 Fix bug while extracting method with augmented assignment to subscript in try block (@dryobates)
Expand Down
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ Overview
Most Python syntax from Python 2.7 up to Python 3.10 is supported. Please file bugs and contribute
patches if you encounter gaps.

From version 1.0.0 onwards, rope will no longer support running on Python 2.
If you need Python 2 support, then check out the `python2` branch or the 0.x.x
releases.

Getting Started
===============

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.black]

target-version = ['py33', 'py34', 'py35', 'py36', 'py37', 'py38', 'py39']
target-version = ['py35', 'py36', 'py37', 'py38', 'py39']
include = 'rope/.*\.pyi?$'
force-exclude = 'ropetest'
2 changes: 1 addition & 1 deletion rope/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""rope, a python refactoring library"""

INFO = __doc__
VERSION = "0.23.0"
VERSION = "1.0.0"
COPYRIGHT = """\
Copyright (C) 2021-2021 Lie Ryan
Copyright (C) 2019-2021 Matej Cepl
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
Expand Down Expand Up @@ -78,4 +76,5 @@ def get_version():
"pytest-timeout",
]
},
python_requires=">=3",
)

0 comments on commit 9b91c31

Please sign in to comment.