Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 1 addition & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-18.04, windows-2019]
python-version: ["2.7","3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]

exclude:
- python-version: "2.7"
os: windows-2019
- python-version: "3.4"
os: windows-2019
- python-version: "3.5"
os: windows-2019
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
7 changes: 2 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ JSON and encoding JSON to BSON. See `benchmark.py`::
Installing From Source
======================

python-bsonjs supports CPython 2.7, and 3.4+.
python-bsonjs supports CPython 3.6+.

Compiler
````````
Expand All @@ -87,10 +87,7 @@ You must build python-bsonjs separately for each version of Python. On
Windows this means you must use the same C compiler your Python version was
built with.

- Python 2.7 requires `Microsoft Visual C++ Compiler for Python 2.7
<https://www.microsoft.com/en-us/download/details.aspx?id=44266>`_
- Python 3.4 requires Microsoft Visual Studio 2010 Professional
- Python 3.5 and up requires Microsoft Visual Studio 2015
- Python 3.6 and up requires Microsoft Visual Studio 2015

Source
``````
Expand Down
3 changes: 3 additions & 0 deletions build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ done

# Install packages and test
for PYBIN in /opt/python/*/bin; do
if [[ ! "${PYBIN}" =~ (36|37|38|39|310) ]]; then
continue
fi
"${PYBIN}/pip" install python-bsonjs --no-index -f dist
# The tests require PyMongo.
"${PYBIN}/pip" install 'pymongo>=3.4' unittest2
Expand Down
Loading