Skip to content

Commit 073ff01

Browse files
authored
Merge pull request #506 from pikers/py311
`python3.11` support!
2 parents 1ea0163 + 0a2187a commit 073ff01

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

piker/data/_sharedmem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def ustruct(
271271

272272
# type that all field values will be cast to
273273
# in the returned view.
274-
common_dtype: np.dtype = np.float,
274+
common_dtype: np.dtype = float,
275275

276276
) -> np.ndarray:
277277

piker/ui/_interaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def mouseDragEvent(
620620
# Ignore axes if mouse is disabled
621621
mouseEnabled = np.array(
622622
self.state['mouseEnabled'],
623-
dtype=np.float,
623+
dtype=float,
624624
)
625625
mask = mouseEnabled.copy()
626626
if axis is not None:

requirements.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
# our async client for ``marketstore`` (the tsdb)
1212
-e git+https://github.com/pikers/anyio-marketstore.git@master#egg=anyio-marketstore
1313

14-
15-
# ``trimeter`` for asysnc history fetching
16-
-e git+https://github.com/python-trio/trimeter.git@master#egg=trimeter
17-
18-
1914
# ``asyncvnc`` for sending interactions to ib-gw inside docker
2015
-e git+https://github.com/pikers/asyncvnc.git@main#egg=asyncvnc
2116

setup.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
# You should have received a copy of the GNU Affero General Public License
1717
# along with this program. If not, see <https://www.gnu.org/licenses/>.
1818

19-
from setuptools import setup, find_packages
19+
from setuptools import (
20+
setup,
21+
find_packages,
22+
)
2023

2124
with open('README.rst', encoding='utf-8') as f:
2225
readme = f.read()
@@ -57,13 +60,14 @@
5760
'async_generator',
5861

5962
# from github currently (see requirements.txt)
60-
# 'trimeter', # not released yet..
63+
# normally pinned to particular git hashes..
6164
# 'tractor',
62-
# asyncvnc,
63-
# 'cryptofeed',
65+
# 'asyncvnc',
66+
# 'pyqtgraph',
67+
# anyio-marketstore # mkts tsdb client
6468

6569
# brokers
66-
'asks',
70+
'asks', # for non-ws rest apis
6771
'ib_insync',
6872

6973
# numerics
@@ -78,9 +82,6 @@
7882
# 'pyqtgraph', from our fork see reqs.txt
7983
'qdarkstyle >= 3.0.2', # themeing
8084
'fuzzywuzzy[speedup]', # fuzzy search
81-
82-
# tsdbs
83-
# anyio-marketstore # from gh see reqs.txt
8485
],
8586
extras_require={
8687
'tsdb': [
@@ -107,6 +108,7 @@
107108
"Programming Language :: Python :: Implementation :: CPython",
108109
"Programming Language :: Python :: 3 :: Only",
109110
"Programming Language :: Python :: 3.10",
111+
"Programming Language :: Python :: 3.11",
110112
'Intended Audience :: Financial and Insurance Industry',
111113
'Intended Audience :: Science/Research',
112114
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)