Skip to content

Commit 728cba1

Browse files
committed
Add support for Python 3.9
1 parent de5a2b0 commit 728cba1

Some content is hidden

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

68 files changed

+1572
-990
lines changed

.travis.yml

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,27 @@ matrix:
4343
- popd
4444
script: tox
4545

46-
- python: "pypy3"
47-
env: TOXENV=pypy3,pypy3-setproctitle
46+
- python: "3.9"
47+
env: TOXENV=py39,py39-setproctitle,py39-uvloop
48+
sudo: true
49+
before_install:
50+
- git clone https://github.com/libuv/libuv.git
51+
- pushd libuv/
52+
- git checkout $(git describe --tags)
53+
- sh autogen.sh
54+
- "./configure"
55+
- make
56+
- sudo make install
57+
- popd
4858
script: tox
4959

50-
- python: "3.8"
60+
- python: "pypy3.7-7.3.5"
61+
env: TOXENV=pypy3,pypy3-setproctitle,pypy3-uvloop
62+
script: tox
63+
64+
- python: "3.9"
5165
env: TOXENV=lint
52-
- python: "3.8"
66+
- python: "3.9"
5367
env: TOXENV=docs
5468
deploy:
5569
provider: pages
@@ -59,15 +73,15 @@ matrix:
5973
local_dir: .tox/docs/tmp/html
6074
on:
6175
branch: master
62-
- python: "3.8"
76+
- python: "3.9"
6377
env: TOXENV=build
64-
- python: "3.8"
78+
- python: "3.9"
6579
env: TOXENV=man
66-
- python: "3.8"
80+
- python: "3.9"
6781
env: TOXENV=poetry
68-
- python: "3.8"
82+
- python: "3.9"
6983
env: TOXENV=setuppy
70-
- python: '3.8'
84+
- python: '3.9'
7185
env: TOXENV=shellcheck
7286
addons:
7387
apt:

CHANGELOG.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,26 @@ the functionality yourself.
2525
Current release
2626
---------------
2727

28-
.. _2.1.15:
28+
.. _2.1.16:
2929

30-
2.1.15
30+
2.1.16
3131
======
3232

33-
- Blackhole now officially supports Python 3.8 and PyPy3. There are issues
34-
using blackhole with uvloop on PyPy3 so that usecase is not supported.
33+
- Blackhole now officially supports Python 3.9.
34+
- Blackhole no longer supports Python 3.6.
3535

3636
-------------
3737
Past releases
3838
-------------
3939

40+
.. _2.1.15:
41+
42+
2.1.15
43+
======
44+
45+
- Blackhole now officially supports Python 3.8 and PyPy3. There are issues
46+
using blackhole with uvloop on PyPy3 so that usecase is not supported.
47+
4048
.. _2.1.13:
4149

4250
2.1.13

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(The MIT License)
22

3-
Copyright (c) 2013-2020 Kura
3+
Copyright (c) 2013-2021 Kura
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the 'Software'), to deal

blackhole/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# (The MIT License)
44
#
5-
# Copyright (c) 2013-2020 Kura
5+
# Copyright (c) 2013-2021 Kura
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
88
# of this software and associated documentation files (the 'Software'), to deal
@@ -52,7 +52,7 @@
5252
__copyright__ = "None"
5353
__credits__ = ("Kura",)
5454
__license__ = "MIT"
55-
__version__ = "2.1.15"
55+
__version__ = "2.1.16"
5656
__maintainer__ = "Kura"
5757
__email__ = "[email protected]"
5858
__status__ = "Stable"

blackhole/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# (The MIT License)
44
#
5-
# Copyright (c) 2013-2020 Kura
5+
# Copyright (c) 2013-2021 Kura
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
88
# of this software and associated documentation files (the 'Software'), to deal

blackhole/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# (The MIT License)
44
#
5-
# Copyright (c) 2013-2020 Kura
5+
# Copyright (c) 2013-2021 Kura
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
88
# of this software and associated documentation files (the 'Software'), to deal

blackhole/child.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# (The MIT License)
44
#
5-
# Copyright (c) 2013-2020 Kura
5+
# Copyright (c) 2013-2021 Kura
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
88
# of this software and associated documentation files (the 'Software'), to deal
@@ -109,7 +109,7 @@ def stop(self, *args, **kwargs):
109109
server.close()
110110
self.heartbeat_task.cancel()
111111
self.server_task.cancel()
112-
for task in asyncio.Task.all_tasks(self.loop):
112+
for task in asyncio.all_tasks(self.loop):
113113
task.cancel()
114114
self.loop.stop()
115115
self._started = False

blackhole/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# (The MIT License)
44
#
5-
# Copyright (c) 2013-2020 Kura
5+
# Copyright (c) 2013-2021 Kura
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
88
# of this software and associated documentation files (the 'Software'), to deal

blackhole/control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# (The MIT License)
44
#
5-
# Copyright (c) 2013-2020 Kura
5+
# Copyright (c) 2013-2021 Kura
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
88
# of this software and associated documentation files (the 'Software'), to deal

blackhole/daemon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# (The MIT License)
44
#
5-
# Copyright (c) 2013-2020 Kura
5+
# Copyright (c) 2013-2021 Kura
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
88
# of this software and associated documentation files (the 'Software'), to deal

0 commit comments

Comments
 (0)