Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Python 3.11 #344

Closed
fabaff opened this issue May 8, 2023 · 2 comments
Closed

Support for Python 3.11 #344

fabaff opened this issue May 8, 2023 · 2 comments

Comments

@fabaff
Copy link

fabaff commented May 8, 2023

With Python 3.11 changes were introduced which are breaking the code:

Executing pytestCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.11.3, pytest-7.2.1, pluggy-1.0.0
rootdir: /build/source
plugins: requests-mock-1.10.0
collected 26 items                                                             

test_alpha_vantage/test_alphavantage.py ..............                   [ 53%]
test_alpha_vantage/test_alphavantage_async.py FF.FFFFFFFFF               [100%]

=================================== FAILURES ===================================
_________________ TestAlphaVantageAsync.test_foreign_exchange __________________

args = (<source.test_alpha_vantage.test_alphavantage_async.TestAlphaVantageAsync testMethod=test_foreign_exchange>,)
kwargs = {}

    @wraps(f)
    def test_wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(f)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

test_alpha_vantage/test_alphavantage_async.py:21: AttributeError
__________________ TestAlphaVantageAsync.test_handle_api_call __________________

args = (<source.test_alpha_vantage.test_alphavantage_async.TestAlphaVantageAsync testMethod=test_handle_api_call>,)
kwargs = {}

    @wraps(f)
    def test_wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(f)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

test_alpha_vantage/test_alphavantage_async.py:21: AttributeError
[...]
@AlphaVantageSupport
Copy link
Collaborator

[2023-07] Temporarily closing this issue due to inactivity.

@fabaff
Copy link
Author

fabaff commented Jul 8, 2023

@AlphaVantageSupport, please add the commit or PR to the fix. Last change was Dec 25, 2022 thus I highly doubt that this was fixed.

fabaff added a commit to fabaff/nixpkgs that referenced this issue May 22, 2024
- disable tests (RomelTorres/alpha_vantage#344)
- add changelog to meta
- update build-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants