Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| eba398e5d3 | |||
| 37c4ba703a | |||
| 74caea4e92 | |||
| 1d25b596bb | |||
| 455d2af251 |
6 changed files with 22 additions and 33 deletions
14
.gitignore
vendored
14
.gitignore
vendored
|
|
@ -1,12 +1,4 @@
|
||||||
# python stuff
|
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
*.egg-info/
|
||||||
# venv stuff
|
/.mypy_cache/
|
||||||
bin/
|
/.venv/
|
||||||
include/
|
|
||||||
lib/
|
|
||||||
lib64
|
|
||||||
pyvenv.cfg
|
|
||||||
|
|
||||||
# mypy stuff
|
|
||||||
.mypy_cache/
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,14 @@
|
||||||
|
|
||||||
## Next version
|
## 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)
|
## 1.1.4 (2019-06-21)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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:
|
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.
|
The use of [venv](https://docs.python.org/3/library/venv.html) is recommended.
|
||||||
|
|
|
||||||
12
examples/echo/.gitignore
vendored
12
examples/echo/.gitignore
vendored
|
|
@ -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
|
# 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,
|
# 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.
|
# store a bot.conf.default with default settings.
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
from setuptools import setup
|
[build-system]
|
||||||
|
requires = ["setuptools"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
setup(
|
[project]
|
||||||
name="yaboli",
|
name = "yaboli"
|
||||||
version="1.1.4",
|
version = "1.2.0"
|
||||||
packages=["yaboli"],
|
dependencies = [
|
||||||
install_requires=["websockets==7.0"],
|
"websockets >=10.3, <11"
|
||||||
)
|
]
|
||||||
|
|
||||||
# When updating the version, also:
|
# When updating the version, also:
|
||||||
# - update the README.md installation instructions
|
# - update the README.md installation instructions
|
||||||
|
|
@ -207,7 +207,7 @@ class Connection:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
except (websockets.InvalidHandshake, websockets.InvalidStatusCode,
|
except (websockets.InvalidHandshake, websockets.InvalidStatusCode,
|
||||||
socket.gaierror, asyncio.TimeoutError):
|
OSError, asyncio.TimeoutError):
|
||||||
logger.debug("Connection failed")
|
logger.debug("Connection failed")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue