Skip to content

[EN-3260] [PythonAPI] Add compatibility of PythonAPI with Python 3.9+ #39

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
31e04f8
[EN-3260] Download api 8.3.0. Fix the listeners & pxd_include
ttldtor Aug 28, 2021
20693f1
[EN-3260] remove submodule
ttldtor Aug 28, 2021
fdc9790
[EN-3260] fix build, clear tests
ttldtor Aug 28, 2021
33430cd
[EN-3260] fix build, clear tests
ttldtor Aug 28, 2021
06253f3
[EN-3260] extra compiler args
ttldtor Aug 28, 2021
38e1591
[EN-3260] extra compiler args
ttldtor Aug 28, 2021
657f1e4
[EN-3260] rpath
ttldtor Aug 28, 2021
9ee8ec3
[EN-3260] rpath
ttldtor Aug 28, 2021
5ffc9e0
[EN-3260] runtime_library_dirs
ttldtor Aug 28, 2021
158c117
[EN-3260] runtime_library_dirs
ttldtor Aug 28, 2021
41f7922
[EN-3260] runtime_library_dirs
ttldtor Aug 28, 2021
49df79c
[EN-3260] runtime_library_dirs
ttldtor Aug 28, 2021
ddc871a
[EN-3260] runtime_library_dirs + @loader_path
ttldtor Aug 28, 2021
a40e186
[EN-3260] install_name_tool
ttldtor Aug 28, 2021
1aff4e2
[EN-3260] install_name_tool
ttldtor Aug 29, 2021
57707c3
[EN-3260] install_name_tool
ttldtor Aug 29, 2021
826c38b
[EN-3260] install_name_tool
ttldtor Aug 29, 2021
d38c9bf
[EN-3260] @executable_path
ttldtor Aug 29, 2021
d2a89d1
[EN-3260] install_name_tool
ttldtor Aug 29, 2021
0c6adec
[EN-3260] test 8.3.1
ttldtor Aug 29, 2021
6b7da67
[EN-3260] test 8.3.1
ttldtor Aug 29, 2021
248d600
[EN-3260] test 8.3.1
ttldtor Aug 29, 2021
ab5cb6c
[EN-3260] test 8.3.1
ttldtor Aug 29, 2021
0720ff7
[EN-3260] -runtime_library_dirs
ttldtor Aug 29, 2021
70f2936
[EN-3260] fix get_include(), fix c api version retrieving, fix the fi…
ttldtor Aug 29, 2021
1c8eb4d
[EN-3260] add Downloader, build.native-dependencies, ubuntu-18.04, te…
ttldtor Aug 30, 2021
f80070b
[EN-3260] -debug version
ttldtor Aug 31, 2021
bbb136b
[EN-3260] fix clear
ttldtor Sep 3, 2021
04211d9
[EN-3260] fix workflows
ttldtor Sep 3, 2021
27e18a1
[EN-3260] docs, comments, fixes
ttldtor Sep 3, 2021
3b704e5
[EN-3260] version 0.5.3
ttldtor Sep 3, 2021
898f2b2
[EN-3260] toml and pandas version
ttldtor Sep 3, 2021
f90440f
[EN-3260] pandas version
ttldtor Sep 3, 2021
82746a1
[EN-3260] pandas version
ttldtor Sep 3, 2021
0610ece
[EN-3260] pandas version
ttldtor Sep 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/publishpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8]
os: [ubuntu-18.04, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]

runs-on: ${{ matrix.os }}

Expand All @@ -34,12 +34,11 @@ jobs:
poetry install --no-root
shell: bash
- name: Create tarball
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.7
if: matrix.python-version == 3.7
run: |
task build -f sdist
shell: bash
- name: Create wheel
if: matrix.os == 'windows-latest' || matrix.os == 'macos-latest'
run: |
task build -f wheel
shell: bash
Expand All @@ -52,7 +51,7 @@ jobs:


publish:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
needs: build
steps:
- uses: actions/checkout@v2
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/test_on_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# This workflow will check package installation and runs tests on PR
name: Test on PR

on:
pull_request:
types: [opened, reopened, synchronize]

jobs:
installation:
strategy:
matrix:
os: [ubuntu-18.04, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
pip install poetry
shell: bash
- name: Set poetry env
run: |
poetry config virtualenvs.create false
poetry install --no-root --no-dev
pip install taskipy cython
task build -f sdist
pip uninstall --yes taskipy cython
shell: bash
- name: Install package artifact
run: |
pip install dist/dxfeed*
pip uninstall --yes dxfeed
shell: bash
tests:
needs: installation
strategy:
matrix:
os: [ubuntu-18.04, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
pip install poetry
shell: bash
- name: Set poetry env
run: |
poetry config virtualenvs.create false
poetry install --no-root
shell: bash
- name: Run tests
run: |
task test
shell: bash
- name: Generate doc
run: |
task html_docs
shell: bash
if: matrix.os == 'ubuntu-18.04' && matrix.python-version == 3.7
6 changes: 3 additions & 3 deletions .github/workflows/testdevelop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
installation:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-18.04, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
needs: installation
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-18.04, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -76,4 +76,4 @@ jobs:
run: |
task html_docs
shell: bash
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.7
if: matrix.os == 'ubuntu-18.04' && matrix.python-version == 3.7
8 changes: 4 additions & 4 deletions .github/workflows/testpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
installation:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8]
os: [ubuntu-18.04, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
needs: installation
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-18.04, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -77,4 +77,4 @@ jobs:
run: |
task html_docs
shell: bash
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.7
if: matrix.os == 'ubuntu-18.04' && matrix.python-version == 3.7
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ _build*

Pipfile*
dist*
dist
build/**
dxfeed/core/**/*.c
dxfeed/tmp

setup.py
poetry.lock
dxfeed.egg-info
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ pip3 install dxfeed

## Installation from sources

Reminder: initialize and pull git submodule after cloning the repo:
```bash
git submodule init
git submodule update
```

To install dxfeed from source you need Poetry. It provides a custom installer.
This is the recommended way of installing poetry according to [documentation](https://python-poetry.org/docs/)

Expand Down
Loading