Skip to content

Commit 50847a7

Browse files
authored
Merge pull request #118 from rosette-api/no-jira-add-3.13-drop-3.8
NO-JIRA: Add Python 3.13 to tests. Drop 3.8.
2 parents 5d82eca + 0dcee40 commit 50847a7

File tree

6 files changed

+242
-525
lines changed

6 files changed

+242
-525
lines changed

CI.Jenkinsfile

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
def versions = [3.8, 3.9, 3.10, 3.11, 3.12]
3+
def versions = [3.9, 3.10, 3.11, 3.12, 3.13]
44

55
def runSonnarForPythonVersion(sourceDir, ver){
66
mySonarOpts="-Dsonar.sources=/source -Dsonar.host.url=${env.SONAR_HOST_URL} -Dsonar.login=${env.SONAR_AUTH_TOKEN}"
@@ -15,12 +15,13 @@ def runSonnarForPythonVersion(sourceDir, ver){
1515

1616
// Only run Sonar once.
1717
// Check for new versions at https://binaries.sonarsource.com/?prefix=Distribution/sonar-scanner-cli/
18-
if(ver == 3.12) {
18+
sonarScannerVersion="6.2.1.4610-linux-x64"
19+
if(ver == 3.13) {
1920
sonarExec="cd /root/ && \
20-
wget -q https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.1.3023-linux.zip && \
21-
unzip -q sonar-scanner-cli-4.8.1.3023-linux.zip && \
21+
wget -q https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${sonarScannerVersion}.zip && \
22+
unzip -q sonar-scanner-cli-${sonarScannerVersion}.zip && \
2223
cd /source && \
23-
/root/sonar-scanner-4.8.1.3023-linux/bin/sonar-scanner ${mySonarOpts}"
24+
/root/sonar-scanner-${sonarScannerVersion}/bin/sonar-scanner ${mySonarOpts}"
2425
} else {
2526
sonarExec="echo Skipping Sonar for this version."
2627
}

docs/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Files in the source directory are generally static and should not need to be upd
88

99
This will overwrite the *.rst files, which may then require some editing to provide the desired look. Edits to date:
1010
1. index.rst: Changed the `Welcome ...` title to `Python Binding`
11-
1. index.rst: Added minor summary, "This is the API documentation for the Rosette API Python Binding. For examples and usage, please refer to our `API Guide <http://developer.rosette.com/api-guide>`_."
11+
1. index.rst: Added minor summary, "This is the API documentation for the Babel Street Analytics API Python Binding. For examples and usage, please refer to our `API Guide <http://developer.babelstreet.com/api-guide>`_."
1212
1. conf.py: removed blank line at end of file
13-
1. conf.py: added rosette logo
13+
1. conf.py: added Babel Street logo
1414
1. conf.py: blank project (let logo handle it)
1515
1. conf.py: added version (auto updated by publish)
1616
1. conf.py: added author

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
NAME = "rosette_api"
99
DESCRIPTION = "Babel Street Analytics API Python client SDK"
1010
AUTHOR = "Analytics by Babel Street"
11-
AUTHOR_EMAIL = "helpdesk@babelstreet.com"
11+
AUTHOR_EMAIL = "analyticssupport@babelstreet.com"
1212
HOMEPAGE = "https://github.com/rosette-api/python"
1313
VERSION = rosette.__version__
1414

@@ -49,11 +49,11 @@ def read(*filenames, **kwargs):
4949
'Natural Language :: English',
5050
'Operating System :: OS Independent',
5151
'Programming Language :: Python',
52-
'Programming Language :: Python :: 3.8',
5352
'Programming Language :: Python :: 3.9',
5453
'Programming Language :: Python :: 3.10',
5554
'Programming Language :: Python :: 3.11',
5655
'Programming Language :: Python :: 3.12',
56+
'Programming Language :: Python :: 3.13',
5757
'Topic :: Software Development :: Libraries :: Python Modules'
5858
]
5959
)

0 commit comments

Comments
 (0)