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 # type that all field values will be cast to
# in the returned view. # in the returned view.
common_dtype: np.dtype = np.float, common_dtype: np.dtype = float,
) -> np.ndarray: ) -> np.ndarray:

View File

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

View File

@ -11,11 +11,6 @@
# our async client for ``marketstore`` (the tsdb) # our async client for ``marketstore`` (the tsdb)
-e git+https://github.com/pikers/anyio-marketstore.git@master#egg=anyio-marketstore -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 # ``asyncvnc`` for sending interactions to ib-gw inside docker
-e git+https://github.com/pikers/asyncvnc.git@main#egg=asyncvnc -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 # 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/>. # 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: with open('README.rst', encoding='utf-8') as f:
readme = f.read() readme = f.read()
@ -57,13 +60,14 @@ setup(
'async_generator', 'async_generator',
# from github currently (see requirements.txt) # from github currently (see requirements.txt)
# 'trimeter', # not released yet.. # normally pinned to particular git hashes..
# 'tractor', # 'tractor',
# asyncvnc, # 'asyncvnc',
# 'cryptofeed', # 'pyqtgraph',
# anyio-marketstore # mkts tsdb client
# brokers # brokers
'asks', 'asks', # for non-ws rest apis
'ib_insync', 'ib_insync',
# numerics # numerics
@ -78,9 +82,6 @@ setup(
# 'pyqtgraph', from our fork see reqs.txt # 'pyqtgraph', from our fork see reqs.txt
'qdarkstyle >= 3.0.2', # themeing 'qdarkstyle >= 3.0.2', # themeing
'fuzzywuzzy[speedup]', # fuzzy search 'fuzzywuzzy[speedup]', # fuzzy search
# tsdbs
# anyio-marketstore # from gh see reqs.txt
], ],
extras_require={ extras_require={
'tsdb': [ 'tsdb': [
@ -107,6 +108,7 @@ setup(
"Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
'Intended Audience :: Financial and Insurance Industry', 'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Science/Research', 'Intended Audience :: Science/Research',
'Intended Audience :: Developers', 'Intended Audience :: Developers',