Skip to content

Commit 0d66d26

Browse files
committed
Merge branch 'master' into complete
2 parents 7063e85 + 5768678 commit 0d66d26

File tree

102 files changed

+3667
-3777
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+3667
-3777
lines changed

.github/workflows/build.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
# run at 7:00 on the first of every month
8+
- cron: '0 7 1 * *'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
continue-on-error: ${{ matrix.python-version == 'pypy3' }}
14+
strategy:
15+
matrix:
16+
python-version: [3.6, 3.7, 3.8, 3.9, pypy3]
17+
steps:
18+
- uses: actions/checkout@v2
19+
with:
20+
fetch-depth: 0
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install -r requirements.txt
29+
pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5"
30+
pip install pytest pytest-cov numpy
31+
- name: Build with Python ${{ matrix.python-version }}
32+
run: |
33+
python setup.py build
34+
- name: Build documentation
35+
run: |
36+
python setup.py build_sphinx
37+
python setup.py build_sphinx_man
38+
- name: Test with pytest
39+
run: |
40+
pytest --cov=bpython --cov-report=xml -v
41+
- name: Upload coverage to Codecov
42+
uses: codecov/codecov-action@v1
43+
env:
44+
PYTHON_VERSION: ${{ matrix.python-version }}
45+
with:
46+
file: ./coverage.xml
47+
env_vars: PYTHON_VERSION
48+
if: ${{ always() }}

.github/workflows/lint.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Linters
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
black:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up Python
13+
uses: actions/setup-python@v2
14+
- name: Install dependencies
15+
run: |
16+
python -m pip install --upgrade pip
17+
pip install black codespell
18+
- name: Check with black
19+
run: black --check .
20+
21+
codespell:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: codespell-project/actions-codespell@master
26+
with:
27+
skip: '*.po'
28+
ignore_words_list: ba,te,deltion

.travis.install.sh

Lines changed: 0 additions & 32 deletions
This file was deleted.

.travis.script.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

AUTHORS renamed to AUTHORS.rst

File renamed without changes.

CHANGELOG renamed to CHANGELOG.rst

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,89 @@
11
Changelog
22
=========
33

4+
0.22
5+
----
6+
7+
General information:
8+
9+
New features:
10+
11+
Fixes:
12+
13+
Changes to dependencies:
14+
15+
0.21
16+
----
17+
18+
General information:
19+
20+
* Support for Python 2 has been dropped.
21+
22+
New features:
23+
24+
* #643: Provide bpython._version if built from Github tarballs
25+
* #849: Make import completion skip list configurable
26+
* #876: Check spelling with codespell
27+
Thanks to Christian Clauss
28+
29+
Fixes:
30+
31+
* #847: Fix import completion of modules
32+
* #857: Replace remaining use of deprecated imp with importlib
33+
* #862: Upgrade curtsies version requirements
34+
Thanks to Kelsey Blair
35+
* #863: State correct default config file directory
36+
Thanks to niloct
37+
* #866: Add more directories to the default import completion skip list
38+
* #873: Handle 'd' when mapping colors
39+
* #874: Avoid breakage with six's importer
40+
41+
Changes to dependencies:
42+
43+
* curtsies >= 0.3.5 is now required
44+
* pyxdg is now required
45+
* wcwidth has been replaced with cwcwidth
46+
47+
0.20.1
48+
------
49+
50+
Fixes:
51+
52+
* Fix check of key code (fixes #859)
53+
454
0.20
555
----
656

57+
General information:
58+
59+
* The next release of bpython (0.20) will drop support for Python 2.
60+
* Support for Python 3.9 has been added. Support for Python 3.5 has been
61+
dropped.
62+
763
New features:
64+
865
* #802: Provide redo.
966
Thanks to Evan.
67+
* #835: Add support for importing namespace packages.
68+
Thanks to Thomas Babej.
1069

1170
Fixes:
71+
72+
* #622: Provide encoding attribute for FakeOutput.
1273
* #806: Prevent symbolic link loops in import completion.
1374
Thanks to Etienne Richart.
1475
* #807: Support packages using importlib.metadata API.
1576
Thanks to uriariel.
77+
* #809: Fix support for Python 3.9's ast module.
1678
* #817: Fix cursor position with full-width characters.
1779
Thanks to Jack Rybarczyk.
80+
* #853: Fix invalid escape sequences.
1881

1982
0.19
2083
----
2184

2285
General information:
86+
2387
* The bpython-cli and bpython-urwid rendering backends have been deprecated and
2488
will show a warning that they'll be removed in a future release when started.
2589
* Usage in combination with Python 2 has been deprecated. This does not mean that
@@ -33,6 +97,7 @@ General information:
3397
New features:
3498

3599
Fixes:
100+
36101
* #765: Display correct signature for decorated functions.
37102
Thanks to Benedikt Rascher-Friesenhausen.
38103
* #776: Protect get_args from user code exceptions
@@ -45,10 +110,12 @@ Support for Python 3.8 has been added. Support for Python 3.4 has been dropped.
45110
----
46111

47112
New features:
113+
48114
* #713 expose globals in bpdb debugging.
49115
Thanks to toejough.
50116

51117
Fixes:
118+
52119
* Fix file locking on Windows.
53120
* Exit gracefully if config file fails to be loaded due to encoding errors.
54121
* #744: Fix newline handling.
@@ -63,18 +130,21 @@ Support for Python 3.3 has been dropped.
63130
------
64131

65132
Fixes:
133+
66134
* Reverted #670 temporarily due to performance impact
67135
on large strings being output.
68136

69137
0.17
70138
----
71139

72140
New features:
141+
73142
* #641: Implement Ctrl+O.
74143
* Add default_autoreload config option.
75144
Thanks to Alex Frieder.
76145

77146
Fixes:
147+
78148
* Fix deprecation warnings.
79149
* Do not call signal outside of main thread.
80150
Thanks to Max Nordlund.
@@ -94,9 +164,11 @@ Fixes:
94164
----
95165

96166
New features:
167+
97168
* #466: Improve handling of completion box height.
98169

99170
Fixes:
171+
100172
* Fix various spelling mistakes.
101173
Thanks to Josh Soref and Simeon Visser.
102174
* #601: Fix Python 2 issues on Windows.
@@ -730,7 +802,7 @@ Suggestions/bug reports/patches are welcome regarding this.
730802
-----
731803
Well, hopefully we're one step closer to making the list sizing
732804
stuff work. I really hate doing code for that kind of thing as I
733-
never get it quite right, but with perseverence it should end up
805+
never get it quite right, but with perseverance it should end up
734806
being completely stable; it's not the hardest thing in the world.
735807

736808
Various cosmetic fixes have been put in at the request of a bunch

MANIFEST.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
include .pycheckrc
2-
include AUTHORS
3-
include CHANGELOG
2+
include AUTHORS.rst
3+
include CHANGELOG.rst
44
include LICENSE
55
include data/bpython.png
66
include data/org.bpython-interpreter.bpython.desktop
77
include data/org.bpython-interpreter.bpython.appdata.xml
8-
include doc/sphinx/source/conf.py
8+
include doc/sphinx/source/*.py
99
include doc/sphinx/source/*.rst
1010
include doc/sphinx/source/logo.png
11-
include *.theme
1211
include bpython/test/*.py
1312
include bpython/test/*.theme
1413
include bpython/translations/*/LC_MESSAGES/bpython.po
1514
include bpython/translations/*/LC_MESSAGES/bpython.mo
1615
include bpython/sample-config
16+
include theme/*.theme

0 commit comments

Comments
 (0)