summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2020-11-12 08:22:55 -0800
committerGitHub <noreply@github.com>2020-11-12 08:22:55 -0800
commit7694a7281e37e49d6f84c8bb28dd0a85351dde3e (patch)
treee934ab3dff00ff0501811cb7d9708e6e61ae8190
parent8464674d93a26fd4b1b50ec3428ec1c4cd8107f2 (diff)
downloadnetworkx-7694a7281e37e49d6f84c8bb28dd0a85351dde3e.tar.gz
Test on Python 3.9 (#4303)
* Test on Python 3.9 * Document Python 3.9 support * Update requirements
-rw-r--r--.appveyor.yml5
-rw-r--r--.github/workflows/testing.yml2
-rw-r--r--.travis.yml2
-rw-r--r--INSTALL.rst2
-rw-r--r--networkx/release.py1
-rw-r--r--requirements/default.txt8
6 files changed, 12 insertions, 8 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index f4fd737f..a0ef5629 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -22,7 +22,10 @@ environment:
- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8"
PYTHON_ARCH: "64"
- PIP_FLAGS: "--pre"
+
+ - PYTHON: "C:\\Python39-x64"
+ PYTHON_VERSION: "3.9.0"
+ PYTHON_ARCH: "64"
install:
# Install Python (from the official .msi of http://python.org) and pip when
diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml
index 8828c483..2cc00567 100644
--- a/.github/workflows/testing.yml
+++ b/.github/workflows/testing.yml
@@ -12,7 +12,7 @@ jobs:
strategy:
max-parallel: 3
matrix:
- python-version: [3.6, 3.7, 3.8]
+ python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
diff --git a/.travis.yml b/.travis.yml
index 83c18cbd..09ef8547 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -44,7 +44,7 @@ matrix:
- libgdal-dev
- graphviz
- python: 3.8
- - python: 3.9-dev
+ - python: 3.9
- python: pypy3
before_install:
diff --git a/INSTALL.rst b/INSTALL.rst
index d5128675..3fbee695 100644
--- a/INSTALL.rst
+++ b/INSTALL.rst
@@ -1,7 +1,7 @@
Install
=======
-NetworkX requires Python 3.6, 3.7, or 3.8. If you do not already
+NetworkX requires Python 3.6, 3.7, 3.8, or 3.9. If you do not already
have a Python environment configured on your computer, please see the
instructions for installing the full `scientific Python stack
<https://scipy.org/install.html>`_.
diff --git a/networkx/release.py b/networkx/release.py
index 17dc9771..30f20ea2 100644
--- a/networkx/release.py
+++ b/networkx/release.py
@@ -219,6 +219,7 @@ classifiers = [
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Bio-Informatics",
diff --git a/requirements/default.txt b/requirements/default.txt
index 0bb35052..1a8aed1a 100644
--- a/requirements/default.txt
+++ b/requirements/default.txt
@@ -1,5 +1,5 @@
decorator>=4.4
-numpy>=1.19; platform_python_implementation!='PyPy' and python_version<'3.9'
-scipy>=1.5; platform_python_implementation!='PyPy' and python_version<'3.9'
-matplotlib>=3.3; platform_python_implementation!='PyPy' and python_version<'3.9'
-pandas>=1.1; platform_python_implementation!='PyPy' and python_version<'3.9'
+numpy>=1.19; platform_python_implementation!='PyPy' and python_version<'3.10'
+scipy>=1.5; platform_python_implementation!='PyPy' and python_version<'3.10'
+matplotlib>=3.3; platform_python_implementation!='PyPy' and python_version<'3.10'
+pandas>=1.1; platform_python_implementation!='PyPy' and python_version<'3.10'