pyconverters-openai_vision 0.5.4__tar.gz → 0.5.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/Dockerfile +1 -1
  2. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/Jenkinsfile +7 -7
  3. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/PKG-INFO +1 -1
  4. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/pyconverters_openai_vision/__init__.py +1 -1
  5. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/setup.py +1 -1
  6. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/.dockerignore +0 -0
  7. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/.gitignore +0 -0
  8. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/README.md +0 -0
  9. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/bumpversion.py +0 -0
  10. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/pyconverters_openai_vision/openai_utils.py +0 -0
  11. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/pyconverters_openai_vision/openai_vision.py +0 -0
  12. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/pyproject.toml +0 -0
  13. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/tests/__init__.py +0 -0
  14. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/tests/data/Sodexo_URD_2023_FR - 4p.pdf +0 -0
  15. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/tests/data/colducoq.jpg +0 -0
  16. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/tests/data/webinar.png +0 -0
  17. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/tests/test_openai_vision.py +0 -0
  18. {pyconverters_openai_vision-0.5.4 → pyconverters_openai_vision-0.5.9}/tox.ini +0 -0
@@ -1,4 +1,4 @@
1
- FROM python:3.8-slim-buster
1
+ FROM python:3.8-slim-bookworm
2
2
  # Install prerequisites
3
3
  RUN apt-get update -y && \
4
4
  apt-get install -y \
@@ -176,7 +176,7 @@ pipeline {
176
176
  }
177
177
  if (sendEmailNotif("${PATH_HOME}/${JOB_NAME}", "${BUILD_NUMBER}")) {
178
178
  println 'sending Success Build notification'
179
- CUSTOM_SUBJECT = '[CI - Jenkinzz SUCCESS] ' + CUSTOM_SUBJECT
179
+ def CUSTOM_SUBJECT = '[CI - Jenkinzz SUCCESS] ' + CUSTOM_SUBJECT
180
180
  emailext(
181
181
  mimeType: 'text/html',
182
182
  subject: CUSTOM_SUBJECT,
@@ -211,7 +211,7 @@ pipeline {
211
211
  println 'Exception occurred: ' + e.toString()
212
212
  }
213
213
  println 'sending Failure Build notification'
214
- CUSTOM_SUBJECT = '[CI - Jenkinzz FAILURE] ' + CUSTOM_SUBJECT
214
+ def CUSTOM_SUBJECT = '[CI - Jenkinzz FAILURE] ' + CUSTOM_SUBJECT
215
215
  emailext(
216
216
  mimeType: 'text/html',
217
217
  subject: CUSTOM_SUBJECT,
@@ -235,7 +235,7 @@ pipeline {
235
235
 
236
236
  // return FLIT_USERNAME from given file
237
237
  def getUserName(path) {
238
- USERNAME = sh(
238
+ def USERNAME = sh(
239
239
  script: "grep FLIT_USERNAME ${path}|cut -d '=' -f2",
240
240
  returnStdout: true
241
241
  ).trim()
@@ -244,7 +244,7 @@ def getUserName(path) {
244
244
 
245
245
  // return FLIT_PASSWORD from given file
246
246
  def getUserPass(path) {
247
- USERPASS = sh(
247
+ def USERPASS = sh(
248
248
  script: "grep FLIT_PASSWORD ${path}|cut -d '=' -f2",
249
249
  returnStdout: true
250
250
  ).trim()
@@ -264,11 +264,11 @@ def switchEmailNotif(toggle, build) {
264
264
 
265
265
  // return true if emailNotif file present
266
266
  boolean sendEmailNotif(path, build) {
267
- emailNotif = sh(
267
+ def emailNotif = sh(
268
268
  script: "find ${path} -name '.emailNotif'|wc -l",
269
269
  returnStdout: true
270
270
  ).trim()
271
- emailContent = ''
271
+ def emailContent = ''
272
272
  if (emailNotif == '1') {
273
273
  emailContent = sh(
274
274
  script: "cat ${path}/.emailNotif",
@@ -279,7 +279,7 @@ boolean sendEmailNotif(path, build) {
279
279
  }
280
280
 
281
281
  def analyseBuildCause() {
282
- upstreamProjects = ['pymultirole_plugins']
282
+ String[] upstreamProjects = ['pymultirole_plugins']
283
283
  boolean upstreamRunning = false
284
284
  String jobName
285
285
  // iterate over upstreamProjects
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyconverters-openai_vision
3
- Version: 0.5.4
3
+ Version: 0.5.9
4
4
  Summary: OpenAIVision converter
5
5
  Home-page: https://kairntech.com/
6
6
  Author: Olivier Terrier
@@ -1,2 +1,2 @@
1
1
  """OpenAIVision converter"""
2
- __version__ = "0.5.4"
2
+ __version__ = "0.5.9"
@@ -43,7 +43,7 @@ entry_points = \
43
43
  'pyconverters_openai_vision.openai_vision:OpenAIVisionConverter']}
44
44
 
45
45
  setup(name='pyconverters-openai_vision',
46
- version='0.5.4',
46
+ version='0.5.9',
47
47
  description='OpenAIVision converter',
48
48
  author='Olivier Terrier',
49
49
  author_email='olivier.terrier@kairntech.com',