Skip to content

Commit fb1e911

Browse files
authored
Merge pull request #2 from fwcd/bump-version-and-deps
Bump version to 0.3.0, use version ranges in dependencies and add CI workflow
2 parents d2664d6 + f1bb5da commit fb1e911

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
python: ['3.8', '3.9', '3.10', '3.11']
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-python@v3
20+
with:
21+
python-version: '${{ matrix.python }}'
22+
- name: Install package
23+
run: pip3 install .

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
**/__pycache__
22
.idea/*
33
**/pyghthouse.egg-info/*
4-
dist/*
4+
dist/*
5+
venv

setup.py

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

66
setup(
77
name='pyghthouse',
8-
version='0.2.1',
8+
version='0.3.0',
99
packages=find_packages(where='.'),
1010
url='https://github.com/Musicted/pyghthouse',
1111
license='MIT',
@@ -14,7 +14,11 @@
1414
description='Python Lighthouse adapter',
1515
long_description=long_description,
1616
long_description_content_type="text/markdown",
17-
install_requires=['numpy~=1.21.2', 'websocket-client~=1.2.1', 'msgpack~=1.0.2'],
17+
install_requires=[
18+
'numpy >= 1.23, < 2',
19+
'websocket-client >= 1.6, < 2',
20+
'msgpack >= 1.0, < 2',
21+
],
1822
package_dir={"": ".", "utils": "./utils"},
1923
python_requires=">=3.8"
2024
)

0 commit comments

Comments
 (0)