File tree 3 files changed +42
-2
lines changed
3 files changed +42
-2
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,43 @@ jobs:
134
134
path : ./wheelhouse/*.whl
135
135
name : artifact
136
136
137
+ # To catch issues like this https://github.com/pythongssapi/python-gssapi/issues/327
138
+ assertion_build :
139
+ needs :
140
+ - build_sdist
141
+
142
+ runs-on : ubuntu-latest
143
+ steps :
144
+ - name : Download gssapi sdist
145
+ uses : actions/download-artifact@v3
146
+ with :
147
+ name : artifact
148
+ path : ./dist
149
+
150
+ - name : Compile Python with assertions
151
+ shell : bash
152
+ run : |
153
+ PYTHON_VERSION="3.11.5"
154
+ wget --quiet "https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz"
155
+ tar xf "Python-${PYTHON_VERSION}.tar.xz"
156
+ cd "Python-${PYTHON_VERSION}/"
157
+ ./configure --with-assertions --prefix "${PWD}/../Python-${PYTHON_VERSION}-build"
158
+ make
159
+ make install
160
+ cd ..
161
+
162
+ sudo apt-get update
163
+ DEBIAN_FRONTEND=noninteractive sudo apt-get -y install krb5-user libkrb5-dev
164
+
165
+ GSSAPI_VER="$( find ./dist -type f -name 'gssapi-*.tar.gz' -printf "%f\n" | sed -n 's/gssapi-\(.*\)\.tar\.gz/\1/p' )"
166
+
167
+ PATH="${PWD}/Python-${PYTHON_VERSION}-build/bin:${PATH}"
168
+ python3 -m pip install gssapi=="${GSSAPI_VER}" \
169
+ --find-links "file://${PWD}/dist" \
170
+ --verbose
171
+
172
+ python3 -c "import gssapi"
173
+
137
174
linux :
138
175
needs :
139
176
- build_sdist
@@ -257,6 +294,7 @@ jobs:
257
294
name : publish
258
295
259
296
needs :
297
+ - assertion_build
260
298
- linux
261
299
- macos
262
300
- windows
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
requires = [
3
- " Cython >= 0.29.29, < 4.0.0" , # 0.29.29 includes fixes for Python 3.11
3
+ # 0.29.29 includes fixes for Python 3.11
4
+ # Cannot use 3 until https://github.com/cython/cython/issues/5665 is fixed
5
+ " Cython >= 0.29.29, < 3.0.0" ,
4
6
" setuptools >= 40.6.0" , # Start of PEP 517 support for setuptools
5
7
]
6
8
build-backend = " setuptools.build_meta"
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ def gssapi_modules(lst):
274
274
275
275
setup (
276
276
name = 'gssapi' ,
277
- version = '1.8.3 ' ,
277
+ version = '1.8.4 ' ,
278
278
author = 'The Python GSSAPI Team' ,
279
279
author_email = 'jborean93@gmail.com' ,
280
280
packages = ['gssapi' , 'gssapi.raw' , 'gssapi.raw._enum_extensions' ,
You can’t perform that action at this time.
0 commit comments