Merge pull request #506 from pikers/py311

`python3.11` support!
master
goodboy 2023-05-24 19:34:10 -04:00 committed by GitHub
commit 073ff0103a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 15 deletions

View File

@ -271,7 +271,7 @@ class ShmArray:
# type that all field values will be cast to
# in the returned view.
common_dtype: np.dtype = np.float,
common_dtype: np.dtype = float,
) -> np.ndarray:

View File

@ -620,7 +620,7 @@ class ChartView(ViewBox):
# Ignore axes if mouse is disabled
mouseEnabled = np.array(
self.state['mouseEnabled'],
dtype=np.float,
dtype=float,
)
mask = mouseEnabled.copy()
if axis is not None:

View File

@ -11,11 +11,6 @@
# our async client for ``marketstore`` (the tsdb)
-e git+https://github.com/pikers/anyio-marketstore.git@master#egg=anyio-marketstore
# ``trimeter`` for asysnc history fetching
-e git+https://github.com/python-trio/trimeter.git@master#egg=trimeter
# ``asyncvnc`` for sending interactions to ib-gw inside docker
-e git+https://github.com/pikers/asyncvnc.git@main#egg=asyncvnc

View File

@ -16,7 +16,10 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
from setuptools import setup, find_packages
from setuptools import (
setup,
find_packages,
)
with open('README.rst', encoding='utf-8') as f:
readme = f.read()
@ -57,13 +60,14 @@ setup(
'async_generator',
# from github currently (see requirements.txt)
# 'trimeter', # not released yet..
# normally pinned to particular git hashes..
# 'tractor',
# asyncvnc,
# 'cryptofeed',
# 'asyncvnc',
# 'pyqtgraph',
# anyio-marketstore # mkts tsdb client
# brokers
'asks',
'asks', # for non-ws rest apis
'ib_insync',
# numerics
@ -78,9 +82,6 @@ setup(
# 'pyqtgraph', from our fork see reqs.txt
'qdarkstyle >= 3.0.2', # themeing
'fuzzywuzzy[speedup]', # fuzzy search
# tsdbs
# anyio-marketstore # from gh see reqs.txt
],
extras_require={
'tsdb': [
@ -107,6 +108,7 @@ setup(
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',