Skip to content

Commit

Permalink
run on appveyor, use tox-travis, and update references of py3.5 to 3.…
Browse files Browse the repository at this point in the history
…7 minimum requirement
  • Loading branch information
pcriadoperez committed Nov 13, 2023
1 parent fbec812 commit 06beeaa
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ before_install:
- git checkout package.json package-lock.json
- git config pull.rebase false
- git fetch --depth=1 --no-tags --verbose --progress
- pip install tox cryptography requests ruff # common packages
- pip install tox-travis cryptography requests ruff # common packages
- pip install twine # used to publish python package
- pip install pyopenssl aiohttp # used to run real-time tests
- php -i | grep php.ini
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ At first, all language-specific versions were developed in parallel, but separat

The module entry points are:
- `./python/__init__.py` for the Python pip package
- `./python/async/__init__.py` for the Python 3.5.3+ ccxt.async_support subpackage
- `./python/async/__init__.py` for the Python 3.7.0+ ccxt.async_support subpackage
- `./js/ccxt.js` for the Node.js npm package
- `./ts/ccxt.ts` for TypeScript
- `./dist/ccxt.browser.js` for the browser bundle
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ The library is under [MIT license](https://github.com/ccxt/ccxt/blob/master/LICE
The easiest way to install the CCXT library is to use a package manager:

- [ccxt in **NPM**](https://www.npmjs.com/package/ccxt) (JavaScript / Node v7.6+)
- [ccxt in **PyPI**](https://pypi.python.org/pypi/ccxt) (Python 3.5.3+)
- [ccxt in **PyPI**](https://pypi.python.org/pypi/ccxt) (Python 3.7.0+)
- [ccxt in **Packagist/Composer**](https://packagist.org/packages/ccxt/ccxt) (PHP 7.0+)
- [ccxt in **Nugget**](https://www.nuget.org/packages/ccxt) (netstandard 2.0)

Expand Down Expand Up @@ -244,7 +244,7 @@ import ccxt
print(ccxt.exchanges) # print a list of all available exchange classes
```

The library supports concurrent asynchronous mode with asyncio and async/await in Python 3.5.3+
The library supports concurrent asynchronous mode with asyncio and async/await in Python 3.7.0+

```Python
import ccxt.async_support as ccxt # link against the asynchronous version of ccxt
Expand Down
5 changes: 5 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
environment:
matrix:
- nodejs_version: '16'
- TOXENV: py37
- TOXENV: py38
- TOXENV: py39
- TOXENV: py310
- TOXENV: py311
install:
- ps: Install-Product node $env:nodejs_version
- set LIB=C:\OpenSSL-Win64\lib;%LIB%
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ build_and_test_all () {
npm run test-base
npm run test-base-ws
run_tests
cd python && tox && cd ..
fi
cd python && tox && cd ..

exit
}

Expand Down
2 changes: 1 addition & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ The library is under [MIT license](https://github.com/ccxt/ccxt/blob/master/LICE
The easiest way to install the CCXT library is to use a package manager:

- [ccxt in **NPM**](https://www.npmjs.com/package/ccxt) (JavaScript / Node v7.6+)
- [ccxt in **PyPI**](https://pypi.python.org/pypi/ccxt) (Python 3.5.3+)
- [ccxt in **PyPI**](https://pypi.python.org/pypi/ccxt) (Python 3.7.0+)
- [ccxt in **Packagist/Composer**](https://packagist.org/packages/ccxt/ccxt) (PHP 7.0+)
- [ccxt in **Nugget**](https://www.nuget.org/packages/ccxt) (netstandard 2.0)

Expand Down
2 changes: 1 addition & 1 deletion wiki/Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -3678,7 +3678,7 @@ if exchange.has['fetchOrder']:
order = exchange.fetch_order(id)
print(order)

# Python 3.5+ asyncio (asynchronous)
# Python 3.7+ asyncio (asynchronous)
import asyncio
import ccxt.async_support as ccxt
if exchange.has['fetchOrder']:
Expand Down

0 comments on commit 06beeaa

Please sign in to comment.