amor71 / LiuAlgoTrader

Framework for algorithmic trading
MIT License
785 stars 130 forks source link

PYUP Scheduled weekly dependency update for week 11 #320

Closed pyup-bot closed 2 years ago

pyup-bot commented 2 years ago

Update numpy from 1.22.2 to 1.22.3.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/numpy - Homepage: https://www.numpy.org

Update mypy from 0.931 to 0.940.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/mypy - Homepage: http://www.mypy-lang.org/

Update Cython from 0.29.27 to 0.29.28.

Changelog ### 0.29.28 ``` ==================== Bugs fixed ---------- * Due to backwards incompatible changes in CPython 3.11a4, the feature flags ``CYTHON_FAST_THREAD_STATE`` and ``CYTHON_USE_EXC_INFO_STACK`` are now disabled in Python 3.11 and later. They are enabled again in Cython 3.0. Patch by David Woods. (Github issue 4610) * A C compiler warning in older PyPy versions was resolved. Patch by Matti Picus. (Github issue 4236) ```
Links - PyPI: https://pypi.org/project/cython - Changelog: https://pyup.io/changelogs/cython/ - Homepage: http://cython.org/

Update alpaca-trade-api from 1.5.0 to 1.5.1.

Changelog ### 1.5.1 ``` * Move updated bars to their own subscription by gnvk [574 ](https://github.com/alpacahq/alpaca-trade-api-python/commit/43f0766eaaeadaabc8ab08e2a0554c95fc1ec265) * empty handler check when unregister cancel errors + corrections by ccnlui [577](https://github.com/alpacahq/alpaca-trade-api-python/commit/294b105439602d46b388c2cbf88275cee15c2261) * Adds support for Python 3.10 by ccnlui [561](https://github.com/alpacahq/alpaca-trade-api-python/pull/561) * Fixes Incorrect Access Issue on Long-Short Example by haxdds [560](https://github.com/alpacahq/alpaca-trade-api-python/commit/4e65915e080c4c74e853c6706d839bdb924f2184) ```
Links - PyPI: https://pypi.org/project/alpaca-trade-api - Changelog: https://pyup.io/changelogs/alpaca-trade-api/ - Repo: https://github.com/alpacahq/alpaca-trade-api-python

Update pygit2 from 1.8.0 to 1.9.0.

Changelog ### 1.9.0 ``` ------------------------- - Upgrade to libgit2 v1.4 - Documentation, new recipes for committing and cloning `1125 <https://github.com/libgit2/pygit2/pull/1125>`_ ```
Links - PyPI: https://pypi.org/project/pygit2 - Changelog: https://pyup.io/changelogs/pygit2/ - Repo: https://github.com/libgit2/pygit2

Update pytest from 7.0.1 to 7.1.0.

Changelog ### 7.1.0 ``` ========================= Breaking Changes ---------------- - `8838 <https://github.com/pytest-dev/pytest/issues/8838>`_: As per our policy, the following features have been deprecated in the 6.X series and are now removed: * ``pytest._fillfuncargs`` function. * ``pytest_warning_captured`` hook - use ``pytest_warning_recorded`` instead. * ``-k -foobar`` syntax - use ``-k 'not foobar'`` instead. * ``-k foobar:`` syntax. * ``pytest.collect`` module - import from ``pytest`` directly. For more information consult `Deprecations and Removals <https://docs.pytest.org/en/latest/deprecations.html>`__ in the docs. - `9437 <https://github.com/pytest-dev/pytest/issues/9437>`_: Dropped support for Python 3.6, which reached `end-of-life <https://devguide.python.org/#status-of-python-branches>`__ at 2021-12-23. Improvements ------------ - `5192 <https://github.com/pytest-dev/pytest/issues/5192>`_: Fixed test output for some data types where ``-v`` would show less information. Also, when showing diffs for sequences, ``-q`` would produce full diffs instead of the expected diff. - `9362 <https://github.com/pytest-dev/pytest/issues/9362>`_: pytest now avoids specialized assert formatting when it is detected that the default ``__eq__`` is overridden in ``attrs`` or ``dataclasses``. - `9536 <https://github.com/pytest-dev/pytest/issues/9536>`_: When ``-vv`` is given on command line, show skipping and xfail reasons in full instead of truncating them to fit the terminal width. - `9644 <https://github.com/pytest-dev/pytest/issues/9644>`_: More information about the location of resources that led Python to raise :class:`ResourceWarning` can now be obtained by enabling :mod:`tracemalloc`. See :ref:`resource-warnings` for more information. - `9678 <https://github.com/pytest-dev/pytest/issues/9678>`_: More types are now accepted in the ``ids`` argument to ``pytest.mark.parametrize``. Previously only `str`, `float`, `int` and `bool` were accepted; now `bytes`, `complex`, `re.Pattern`, `Enum` and anything with a `__name__` are also accepted. - `9692 <https://github.com/pytest-dev/pytest/issues/9692>`_: :func:`pytest.approx` now raises a :class:`TypeError` when given an unordered sequence (such as :class:`set`). Note that this implies that custom classes which only implement ``__iter__`` and ``__len__`` are no longer supported as they don't guarantee order. Bug Fixes --------- - `8242 <https://github.com/pytest-dev/pytest/issues/8242>`_: The deprecation of raising :class:`unittest.SkipTest` to skip collection of tests during the pytest collection phase is reverted - this is now a supported feature again. - `9493 <https://github.com/pytest-dev/pytest/issues/9493>`_: Symbolic link components are no longer resolved in conftest paths. This means that if a conftest appears twice in collection tree, using symlinks, it will be executed twice. For example, given tests/real/conftest.py tests/real/test_it.py tests/link -> tests/real running ``pytest tests`` now imports the conftest twice, once as ``tests/real/conftest.py`` and once as ``tests/link/conftest.py``. This is a fix to match a similar change made to test collection itself in pytest 6.0 (see :pull:`6523` for details). - `9626 <https://github.com/pytest-dev/pytest/issues/9626>`_: Fixed count of selected tests on terminal collection summary when there were errors or skipped modules. If there were errors or skipped modules on collection, pytest would mistakenly subtract those from the selected count. - `9645 <https://github.com/pytest-dev/pytest/issues/9645>`_: Fixed regression where ``--import-mode=importlib`` used together with :envvar:`PYTHONPATH` or :confval:`pythonpath` would cause import errors in test suites. - `9708 <https://github.com/pytest-dev/pytest/issues/9708>`_: :fixture:`pytester` now requests a :fixture:`monkeypatch` fixture instead of creating one internally. This solves some issues with tests that involve pytest environment variables. - `9730 <https://github.com/pytest-dev/pytest/issues/9730>`_: Malformed ``pyproject.toml`` files now produce a clearer error message. ```
Links - PyPI: https://pypi.org/project/pytest - Changelog: https://pyup.io/changelogs/pytest/ - Homepage: https://docs.pytest.org/en/latest/

Update pytest-asyncio from 0.18.1 to 0.18.2.

Changelog ### 0.18.2 ``` ----------------- - Fix asyncio auto mode not marking static methods. [\295](https://github.com/pytest-dev/pytest-asyncio/issues/295) - Fix a compatibility issue with Hypothesis 6.39.0. [\302](https://github.com/pytest-dev/pytest-asyncio/issues/302) ```
Links - PyPI: https://pypi.org/project/pytest-asyncio - Changelog: https://pyup.io/changelogs/pytest-asyncio/ - Repo: https://github.com/pytest-dev/pytest-asyncio

Update setuptools from 60.9.0 to 60.9.3.

Changelog ### 60.9.3 ``` ------- Misc ^^^^ * 3093: Repaired automated release process. ``` ### 60.9.2 ``` ------- Misc ^^^^ * 3035: When loading distutils from the vendored copy, rewrite ``__name__`` to ensure consistent importing from inside and out. ``` ### 60.9.1 ``` ------- Misc ^^^^ * 3102: Prevent vendored importlib_metadata from loading distributions from older importlib_metadata. * 3103: Fixed issue where string-based entry points would be omitted. * 3107: Bump importlib_metadata to 4.11.1 addressing issue with parsing requirements in egg-info as found in PyPy. ```
Links - PyPI: https://pypi.org/project/setuptools - Changelog: https://pyup.io/changelogs/setuptools/ - Repo: https://github.com/pypa/setuptools

Update streamlit from 1.5.1 to 1.7.0.

Changelog ### 1.7.0 ``` None ``` ### 1.6.0 ``` - 🗜 WebSocket compression is now disabled by default, which will improve CPU and latency performance for large dataframes. You can use the `server.enableWebsocketCompression`  configuration option to re-enable it if you find the increased network traffic more impactful. - ☑️ 🔘 Radio and checkboxes improve focus on Keyboard navigation ([4308](https://github.com/streamlit/streamlit/pull/4308)) ```
Links - PyPI: https://pypi.org/project/streamlit - Changelog: https://pyup.io/changelogs/streamlit/ - Homepage: https://streamlit.io

Update nbqa from 1.2.3 to 1.3.1.

Changelog ### 1.3.1 ``` ~~~~~~~~~~~~~~~~~~ Fixed setup.cfg to mark than only Python3.7+ is supported. ``` ### 1.3.0 ``` ~~~~~~~~~~~~~~~~~~ Removed support for Python 3.6. Exit code for ``--nbqa-diff`` is now ``1`` is file would've been modified, and ``0`` otherwise. Cells with just line magics will now be ignored. ```
Links - PyPI: https://pypi.org/project/nbqa - Changelog: https://pyup.io/changelogs/nbqa/ - Repo: https://github.com/nbQA-dev/nbQA

Update hypothesis from 6.36.2 to 6.39.3.

Changelog ### 6.39.3 ``` ------------------- If the :obj:`~hypothesis.Phase.shrink` phase is disabled, we now stop the :obj:`~hypothesis.Phase.generate` phase as soon as an error is found regardless of the value of the ``report_multiple_examples`` setting, since that's probably what you wanted (:issue:`3244`). ``` ### 6.39.2 ``` ------------------- This patch clarifies rare error messages in :func:`~hypothesis.strategies.builds` (:issue:`3225`) and :func:`~hypothesis.strategies.floats` (:issue:`3207`). ``` ### 6.39.1 ``` ------------------- This patch fixes a regression where the bound inner function (``your_test.hypothesis.inner_test``) would be invoked with positional arguments rather than passing them by name, which broke :pypi:`pytest-asyncio` (:issue:`3245`). ``` ### 6.39.0 ``` ------------------- This release improves Hypothesis' handling of positional-only arguments, which are now allowed :func:`st.composite <hypothesis.strategies.composite>` strategies. On Python 3.8 and later, the first arguments to :func:`~hypothesis.strategies.builds` and :func:`~hypothesis.extra.django.from_model` are now natively positional-only. In cases which were already errors, the ``TypeError`` from incorrect usage will therefore be raises immediately when the function is called, rather than when the strategy object is used. ``` ### 6.38.0 ``` ------------------- This release makes :func:`~hypothesis.strategies.floats` error *consistently* when your floating-point hardware has been configured to violate IEEE-754 for :wikipedia:`subnormal numbers <Subnormal_number>`, instead of only when an internal assertion was tripped (:issue:`3092`). If this happens to you, passing ``allow_subnormal=False`` will suppress the explicit error. However, we strongly recommend fixing the root cause by disabling global-effect unsafe-math compiler options instead, or at least consulting e.g. Simon Byrne's `Beware of fast-math <https://simonbyrne.github.io/notes/fastmath/>`__ explainer first. ``` ### 6.37.2 ``` ------------------- This patch fixes a bug in stateful testing, where returning a single value wrapped in :func:`~hypothesis.stateful.multiple` would be printed such that the assigned variable was a tuple rather than the single element (:issue:`3236`). ``` ### 6.37.1 ``` ------------------- This patch fixes a warning under :pypi:`pytest` 7 relating to our rich traceback display logic (:issue:`3223`). ``` ### 6.37.0 ``` ------------------- When distinguishing multiple errors, Hypothesis now looks at the inner exceptions of :pep:`654` ``ExceptionGroup``\ s. ```
Links - PyPI: https://pypi.org/project/hypothesis - Changelog: https://pyup.io/changelogs/hypothesis/ - Homepage: https://hypothesis.works

Update torch from 1.10.2 to 1.11.0.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/torch - Changelog: https://pyup.io/changelogs/torch/ - Repo: https://github.com/pytorch/pytorch/tags - Homepage: https://pytorch.org/

Update bandit from 1.7.2 to 1.7.4.

Changelog ### 1.7.4 ``` What's Changed * Fix traceback in hashlib_insecure_functions by ericwb in https://github.com/PyCQA/bandit/pull/834 * Add version 1.7.3 to dropdown by ericwb in https://github.com/PyCQA/bandit/pull/833 * core/config: Fix ConfigError missing argument if toml is missing by Holzhaus in https://github.com/PyCQA/bandit/pull/845 * Add 1.7.4 in issue template by ericwb in https://github.com/PyCQA/bandit/pull/846 New Contributors * Holzhaus made their first contribution in https://github.com/PyCQA/bandit/pull/845 **Full Changelog**: https://github.com/PyCQA/bandit/compare/1.7.3...1.7.4 ``` ### 1.7.3 ``` What's Changed * Rely on toml conditionally by sigmavirus24 in https://github.com/PyCQA/bandit/pull/780 * Update issue template with latest versions by ericwb in https://github.com/PyCQA/bandit/pull/783 * Delete release-drafter.yml by ericwb in https://github.com/PyCQA/bandit/pull/781 * Use released version of gh-action-pypi-publish by ericwb in https://github.com/PyCQA/bandit/pull/784 * Update publish-to-pypi.yml by ericwb in https://github.com/PyCQA/bandit/pull/785 * Delete releasenotes directory (more openstack leftovers) by ericwb in https://github.com/PyCQA/bandit/pull/786 * [docs] Add Getting Started chapter (migrate from README) by bittner in https://github.com/PyCQA/bandit/pull/773 * Including CWE information by julianthome in https://github.com/PyCQA/bandit/pull/613 * Removal of the CWEMAP dict by ericwb in https://github.com/PyCQA/bandit/pull/789 * Fix up warnings in output of tox by ericwb in https://github.com/PyCQA/bandit/pull/793 * Avoid printing metrics as float point numbers by ericwb in https://github.com/PyCQA/bandit/pull/794 * Add functional test of snmp_security_check by ericwb in https://github.com/PyCQA/bandit/pull/791 * Disable individual tests by mikespallino in https://github.com/PyCQA/bandit/pull/597 * Change up how CWE is formatted by ericwb in https://github.com/PyCQA/bandit/pull/788 * Check value of usedforsecurity for hashlib by ericwb in https://github.com/PyCQA/bandit/pull/798 * Remove redundant Python 3.6 code by ericwb in https://github.com/PyCQA/bandit/pull/802 * Add new plugin to check use of pyghmi by ericwb in https://github.com/PyCQA/bandit/pull/803 * Check for hardcoded passwords in class attributes by noliverio in https://github.com/PyCQA/bandit/pull/766 * Better hashlib check for Python 3.9 by ericwb in https://github.com/PyCQA/bandit/pull/805 * Fix references to the default branch name by ericwb in https://github.com/PyCQA/bandit/pull/810 * Cleanup the README by ericwb in https://github.com/PyCQA/bandit/pull/809 * Show usage with no arguments by ericwb in https://github.com/PyCQA/bandit/pull/814 * Respect color environment variables if set by ericwb in https://github.com/PyCQA/bandit/pull/813 * Cannot seek stdin on pipe by tylerwince in https://github.com/PyCQA/bandit/pull/496 * Test on operating systems we can support by ericwb in https://github.com/PyCQA/bandit/pull/804 * Fix up some warnings and errors in docs by ericwb in https://github.com/PyCQA/bandit/pull/817 * Fix root doc for readthedocs by ericwb in https://github.com/PyCQA/bandit/pull/818 * Use versioned links to docs by ericwb in https://github.com/PyCQA/bandit/pull/819 * Use CWE link in HTML formatter by ericwb in https://github.com/PyCQA/bandit/pull/825 * Improve performance of linerange by Krock21rus in https://github.com/PyCQA/bandit/pull/629 * Inaccurate message in hashlib check by ericwb in https://github.com/PyCQA/bandit/pull/827 * Target Python >= 3.7 in pre-commit hooks by mkniewallner in https://github.com/PyCQA/bandit/pull/830 * Center the bandit logo in readme by ericwb in https://github.com/PyCQA/bandit/pull/823 * Build of artifact fails if raw directive used by ericwb in https://github.com/PyCQA/bandit/pull/831 New Contributors * bittner made their first contribution in https://github.com/PyCQA/bandit/pull/773 * julianthome made their first contribution in https://github.com/PyCQA/bandit/pull/613 * noliverio made their first contribution in https://github.com/PyCQA/bandit/pull/766 * Krock21rus made their first contribution in https://github.com/PyCQA/bandit/pull/629 **Full Changelog**: https://github.com/PyCQA/bandit/compare/1.7.2...1.7.3 ```
Links - PyPI: https://pypi.org/project/bandit - Changelog: https://pyup.io/changelogs/bandit/ - Docs: https://bandit.readthedocs.io/

Update finnhub-python from 2.4.9 to 2.4.10.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/finnhub-python - Changelog: https://pyup.io/changelogs/finnhub-python/ - Homepage: https://finnhub.io/docs/api

Update quantstats from 0.0.48 to 0.0.50.

Changelog ### 0.0.50 ``` ------ - Fixed a bug when reporting the max drawdown ``` ### 0.0.49 ``` ------ - Fixed an issue with saving the HTML report as a file ```
Links - PyPI: https://pypi.org/project/quantstats - Changelog: https://pyup.io/changelogs/quantstats/ - Repo: https://github.com/ranaroussi/quantstats

Update tqdm from 4.62.3 to 4.63.0.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/tqdm - Changelog: https://pyup.io/changelogs/tqdm/ - Repo: https://tqdm.github.io

Update mnqueues from 0.0.35 to 0.0.37.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/mnqueues - Changelog: https://pyup.io/changelogs/mnqueues/ - Repo: https://github.com/amor71/mnqueues

Update websocket-client from 1.2.3 to 1.3.1.

Changelog ### 1.3.1 ``` - Fix 10 year old bug and improve dispatcher handling for run_forever (795) - Fix run_forever to never return None, only return True or False, and add two tests (788) - Remove Python 3.6 support, EOL in Dec 2021 ``` ### 1.3.0 ``` - BREAKING: Set Origin header to use https:// scheme when wss:// WebSocket URL is passed (#787) - Replace deprecated/broken WebSocket URLs with working ones (6ad5197) - Add documentation referencing rel for automatic reconnection with run_forever() - Add missing opcodes 1012, 1013 (771) - Add errno.ENETUNREACH to improve error handling (da1b050) - Minor documentation improvements and typo fixes ```
Links - PyPI: https://pypi.org/project/websocket-client - Changelog: https://pyup.io/changelogs/websocket-client/ - Repo: https://github.com/websocket-client/websocket-client/releases

Update types-requests from 2.27.9 to 2.27.12.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/types-requests - Repo: https://github.com/python/typeshed

Update pandas_market_calendars from 3.3 to 3.4.

Changelog ### 3.4 ``` ~~~~~~~~~~~~~~ - Update to work with pandas 1.4.0 - Fix boxing day for Australia - Add SIFMA US, UK and JP calendars - Add IEX calendar - Add NSE calendar ```
Links - PyPI: https://pypi.org/project/pandas-market-calendars - Changelog: https://pyup.io/changelogs/pandas-market-calendars/ - Repo: https://github.com/rsheftel/pandas_market_calendars
sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information