Skip to content

Commit

Permalink
Update packaging integration tests to use latest major version
Browse files Browse the repository at this point in the history
On the latest version of Python supported by Lambda, we want to make
sure that we're able to package the latest major version of popular
third party packages.  We can't expect that older package versions will
be forward compatible with newer versions of Python.
  • Loading branch information
jamesls committed Feb 22, 2024
1 parent e927820 commit cdd4b6a
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions tests/integration/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


PY_VERSION = sys.version_info[:2]
VERSION_CUTOFF = (3, 9)
VERSION_CUTOFF = (3, 11)
# We're being cautious here, but we want to fix the package versions we
# try to install on older versions of python.
# If the python version being tested is less than the VERSION_CUTOFF of 3.9,
Expand All @@ -29,72 +29,72 @@
# 3.10 or higher.
PACKAGES_TO_TEST = {
'pandas': {
'version': '1.5.3',
'version': '2.2.0',
'legacy_version': '1.1.5',
'contents': [
'pandas/_libs/__init__.py',
'pandas/io/sas/_sas.cpython-*-x86_64-linux-gnu.so'
'pandas/*__init__.py',
'pandas/*cpython-*-x86_64-linux-gnu.so'
],
},
'SQLAlchemy': {
'version': '1.4.47',
'version': '2.0.27',
'legacy_version': '1.3.20',
'contents': [
'sqlalchemy/__init__.py',
'sqlalchemy/cresultproxy.cpython-*-x86_64-linux-gnu.so'
'sqlalchemy/*cpython-*-x86_64-linux-gnu.so'
],
},
'numpy': {
'version': '1.23.3',
'version': '1.26.4',
'legacy_version': '1.19.4',
'contents': [
'numpy/__init__.py',
'numpy/core/_struct_ufunc_tests.cpython-*-x86_64-linux-gnu.so'
'numpy/*cpython-*-x86_64-linux-gnu.so'
],
},
'cryptography': {
'version': '3.3.1',
'version': '42.0.4',
'legacy_version': '3.3.1',
'contents': [
'cryptography/__init__.py',
'cryptography/hazmat/bindings/_openssl.abi3.so'
'cryptography/*.so'
],
},
'Jinja2': {
'version': '2.11.2',
'version': '3.1.3',
'legacy_version': '2.11.2',
'contents': ['jinja2/__init__.py'],
},
'Mako': {
'version': '1.1.3',
'version': '1.3.2',
'legacy_version': '1.1.3',
'contents': ['mako/__init__.py'],
},
'MarkupSafe': {
'version': '1.1.1',
'version': '2.1.5',
'legacy_version': '1.1.1',
'contents': ['markupsafe/__init__.py'],
},
'scipy': {
'version': '1.10.1',
'version': '1.12.0',
'legacy_version': '1.5.4',
'contents': [
'scipy/__init__.py',
'scipy/cluster/_hierarchy.cpython-*-x86_64-linux-gnu.so'
],
},
'cffi': {
'version': '1.15.1',
'version': '1.16.0',
'legacy_version': '1.14.5',
'contents': ['_cffi_backend.cpython-*-x86_64-linux-gnu.so'],
},
'pygit2': {
'version': '1.10.1',
'version': '1.14.1',
'legacy_version': '1.5.0',
'contents': ['pygit2/_pygit2.cpython-*-x86_64-linux-gnu.so'],
},
'pyrsistent': {
'version': '0.17.3',
'version': '0.20.0',
'legacy_version': '0.17.3',
'contents': ['pyrsistent/__init__.py'],
},
Expand Down

0 comments on commit cdd4b6a

Please sign in to comment.