Skip to content

Commit

Permalink
Merge pull request #1113 from IntelPython/remove/github_build_for_py38
Browse files Browse the repository at this point in the history
Do not build for python 3.8 in Github CI
  • Loading branch information
Diptorup Deb authored Aug 23, 2023
2 parents 25fb36f + c608d23 commit f9ca96b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ['3.8', '3.9', '3.10']
python: ['3.9', '3.10']
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ['3.8', '3.9', '3.10']
python: ['3.9', '3.10']
os: [ubuntu-20.04, ubuntu-latest, windows-latest]
experimental: [false]

Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:

strategy:
matrix:
python: ['3.8', '3.9', '3.10']
python: ['3.9', '3.10']
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
oneapi_version:
default: '2023.1.0.46401'
python_versions:
default: '["3.8", "3.9", "3.10", "3.11"]'
default: '["3.9", "3.10", "3.11"]'
buildkit_version:
default: '0.11.6'

Expand Down
9 changes: 0 additions & 9 deletions build-environment.yml

This file was deleted.

12 changes: 2 additions & 10 deletions numba_dpex/core/runtime/_nrt_python_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,20 +170,12 @@ PyTypeObject MemInfoType = {
* https://github.com/python/cpython/blob/d917cfe4051d45b2b755c726c096ecfcc4869ceb/Include/cpython/object.h#L257
*/
0, /* tp_vectorcall */
#if (PY_MAJOR_VERSION == 3) && (PY_MINOR_VERSION == 8)
/* This is Python 3.8 only.
* See: https://github.com/python/cpython/blob/3.8/Include/cpython/object.h
* there's a tp_print preserved for backwards compatibility. xref:
* https://github.com/python/cpython/blob/d917cfe4051d45b2b755c726c096ecfcc4869ceb/Include/cpython/object.h#L260
*/
0, /* tp_print */
#endif

/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if !((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || \
(PY_MINOR_VERSION == 10) || (PY_MINOR_VERSION == 11))
#if !((PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10) || \
(PY_MINOR_VERSION == 11))
#error "Python minor version is not supported."
#endif
#else
Expand Down

0 comments on commit f9ca96b

Please sign in to comment.