Skip to content

Commit 69da090

Browse files
authored
SCANPY-96 Pin poetry version to 2.0.1 and migrate pyproject.toml for PEP 621 (#118)
1 parent d9b2ea5 commit 69da090

File tree

4 files changed

+35
-16
lines changed

4 files changed

+35
-16
lines changed

.cirrus.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@ analysis_task:
9696
qa_task:
9797
alias: qa
9898
matrix:
99-
- name: "Test Python 3.8"
100-
eks_container:
101-
docker_arguments:
102-
PYTHON_VERSION: 3.8.18
10399
- name: "Test Python 3.9"
104100
eks_container:
105101
docker_arguments:

.cirrus/poetry.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ FROM ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/base:j17-latest
44
USER root
55

66
ARG PYTHON_VERSION=3.12.1
7+
ENV POETRY_VERSION 2.0.1
78

89
# install required dependencies to build Python from source see: https://devguide.python.org/getting-started/setup-building/#install-dependencies
910
RUN apt-get update && apt-get install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev

poetry.lock

Lines changed: 24 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ build-backend = 'poetry.core.masonry.api'
33
requires = ['poetry-core']
44

55
[project]
6+
authors = [{ name="[Code Quality] Data & ML Squad", email="[email protected]" }]
7+
classifiers = ['Environment :: Console', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Topic :: Software Development :: Quality Assurance']
8+
description = 'Sonar Scanner for the Python Ecosystem'
9+
keywords = ['sonar', 'sonarqube', 'sonarcloud', 'cleancode']
10+
license = 'LGPL-3.0-only'
11+
name = 'pysonar-scanner'
12+
readme = 'README.md'
13+
version = "0.2.0"
14+
dynamic = ["dependencies"]
15+
616
[project.urls]
717
homepage = 'https://github.com/SonarSource/sonar-scanner-python'
818
repository = 'https://github.com/SonarSource/sonar-scanner-python'
@@ -17,16 +27,6 @@ target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
1727
branch = true
1828
relative_files = true
1929

20-
[tool.poetry]
21-
authors = ['Python Squad <[email protected]>']
22-
classifiers = ['Environment :: Console', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Topic :: Software Development :: Quality Assurance']
23-
description = 'Sonar Scanner for the Python Ecosystem'
24-
keywords = ['sonar', 'sonarqube', 'sonarcloud', 'cleancode']
25-
license = 'LGPL-3.0-only'
26-
name = 'pysonar-scanner'
27-
readme = 'README.md'
28-
version = "0.2.0"
29-
3030
[tool.poetry.dependencies]
3131
python = '>=3.8'
3232
toml = '>=0.10.2'

0 commit comments

Comments
 (0)