Skip to content

Commit b689195

Browse files
authored
Merge pull request #55 from dragonyanglong/support_py310
ENH: support python 3.8, 3.9, 3.10
2 parents 007d937 + 5586ea3 commit b689195

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
lines changed

Diff for: .travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ os:
77

88
env:
99
- MYUSEMC=true MYPYTHON_VERSION=2.7
10-
- MYUSEMC=true MYPYTHON_VERSION=3.5
11-
- MYUSEMC=true MYPYTHON_VERSION=3.6
1210
- MYUSEMC=true MYPYTHON_VERSION=3.7
11+
- MYUSEMC=true MYPYTHON_VERSION=3.8
12+
- MYUSEMC=true MYPYTHON_VERSION=3.9
13+
- MYUSEMC=true MYPYTHON_VERSION=3.10
1314
- MYUSEMC=false
1415

1516
git:

Diff for: CHANGELOG.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
# Release notes
22

3-
## Unreleased - Version 3.0.2
3+
## Version 3.1.0 – 2022-12-04
4+
5+
### Added
6+
7+
- Compatibility with Python 3.10, 3.9, 3.8
8+
9+
### Changed
10+
11+
### Deprecated
12+
13+
### Removed
14+
15+
- Remove the support for Python 3.5, 3.6.
16+
17+
### Fixed
18+
19+
## Version 3.0.2 - 2022-10-12
420

521
### Added
622

Diff for: README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ user manual at http://diffpy.github.io/diffpy.structure.
2727
REQUIREMENTS
2828
------------------------------------------------------------------------
2929

30-
The diffpy.structure package requires Python 3.5 or later or 2.7 and
30+
The diffpy.structure package requires Python 3.7 or later or 2.7 and
3131
the following software:
3232

3333
* ``setuptools`` - software distribution tools for Python

Diff for: doc/manual/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
# -- intersphinx configuration --------------------------------------------
205205

206206
intersphinx_mapping = {
207-
'python' : ('https://docs.python.org/3.7', None),
207+
'python' : ('https://docs.python.org/3.10', None),
208208
'numpy' : ('https://docs.scipy.org/doc/numpy', None),
209209
}
210210

Diff for: setup.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
# Use this version when git data are not available, like in git zip archive.
1414
# Update when tagging a new release.
15-
FALLBACK_VERSION = '3.0.1.post0'
15+
FALLBACK_VERSION = '3.1.0'
1616

1717
# determine if we run with Python 3.
1818
PY3 = (sys.version_info[0] == 3)
@@ -116,9 +116,10 @@ def getversioncfg():
116116
'Operating System :: POSIX',
117117
'Operating System :: Unix',
118118
'Programming Language :: Python :: 2.7',
119-
'Programming Language :: Python :: 3.5',
120-
'Programming Language :: Python :: 3.6',
121119
'Programming Language :: Python :: 3.7',
120+
'Programming Language :: Python :: 3.8',
121+
'Programming Language :: Python :: 3.9',
122+
'Programming Language :: Python :: 3.10',
122123
'Topic :: Scientific/Engineering :: Chemistry',
123124
'Topic :: Scientific/Engineering :: Physics',
124125
],

0 commit comments

Comments
 (0)