Compare commits

...

5 commits

6 changed files with 22 additions and 33 deletions

14
.gitignore vendored
View file

@ -1,12 +1,4 @@
# python stuff
__pycache__/
# venv stuff
bin/
include/
lib/
lib64
pyvenv.cfg
# mypy stuff
.mypy_cache/
*.egg-info/
/.mypy_cache/
/.venv/

View file

@ -2,7 +2,14 @@
## Next version
Nothing yet.
## 1.2.0 (2022-08-21)
- update websockets dependency
- switch to pyproject.toml style setuptools config
## 1.1.5 (2020-01-26)
- more stability (I think)
## 1.1.4 (2019-06-21)

View file

@ -12,7 +12,7 @@ Ensure that you have at least Python 3.7 installed.
To install yaboli or update your installation to the latest version, run:
```
$ pip install git+https://github.com/Garmelon/yaboli@v1.1.4
$ pip install git+https://github.com/Garmelon/yaboli@v1.2.0
```
The use of [venv](https://docs.python.org/3/library/venv.html) is recommended.

View file

@ -1,15 +1,3 @@
# python stuff
__pycache__/
# venv stuff
bin/
include/
lib/
lib64
pyvenv.cfg
# bot stuff
#
# These files are ignored because they may contain sensitive information you
# wouldn't want in your repo. If you need to have a config file in your repo,
# store a bot.conf.default with default settings.

View file

@ -1,11 +1,13 @@
from setuptools import setup
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
setup(
name="yaboli",
version="1.1.4",
packages=["yaboli"],
install_requires=["websockets==7.0"],
)
[project]
name = "yaboli"
version = "1.2.0"
dependencies = [
"websockets >=10.3, <11"
]
# When updating the version, also:
# - update the README.md installation instructions

View file

@ -207,7 +207,7 @@ class Connection:
return True
except (websockets.InvalidHandshake, websockets.InvalidStatusCode,
socket.gaierror, asyncio.TimeoutError):
OSError, asyncio.TimeoutError):
logger.debug("Connection failed")
return False