Skip to content

Commit 965132e

Browse files
committed
Merge branch 'main' into feat/atualizar-readme.md-e-arquivos-de-docs
1 parent a224285 commit 965132e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "gen_surv"
3-
version = "1.0.3"
3+
version = "1.0.4"
44
description = "A Python package for simulating survival data, inspired by the R package genSurv"
55
authors = ["Diogo Ribeiro <[email protected]>"]
66
license = "MIT"

scripts/check_version_match.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
from pathlib import Path
44
import subprocess
55
import sys
6-
import tomli
6+
if sys.version_info >= (3, 11):
7+
import tomllib as tomli
8+
else:
9+
import tomli
710

811

912
ROOT = Path(__file__).resolve().parents[1]

0 commit comments

Comments
 (0)