Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.1.0 #3484

Merged
merged 70 commits into from
Nov 30, 2023
Merged
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
283a54d
minor cleanup
st-pasha Nov 13, 2023
87d8fe3
Add python3.12 for appveyor
st-pasha Nov 13, 2023
a6caf4d
Add py3.12 into build matrix
st-pasha Nov 14, 2023
8fb9f0a
add std::regex_constants to the list of known symbols
st-pasha Nov 14, 2023
40179a8
update version.txt
st-pasha Nov 14, 2023
a46cdc4
update gh.py
st-pasha Nov 14, 2023
27320b4
update release notes
st-pasha Nov 14, 2023
ff0106a
Create the list of contributors
st-pasha Nov 14, 2023
9a2bbfb
update quickstart
st-pasha Nov 14, 2023
3c96a22
another attempt
st-pasha Nov 16, 2023
34e3aa2
Try to build with a GitHub Action
st-pasha Nov 16, 2023
6efa6f2
fix syntax errors
st-pasha Nov 16, 2023
ee71e30
add extra msvc path candidate
st-pasha Nov 16, 2023
634d2eb
expand logic for finding MSVC
st-pasha Nov 16, 2023
57e0240
add git fetch
st-pasha Nov 16, 2023
8b2d9dd
remove depth limit
st-pasha Nov 16, 2023
e6bee01
try origin/main
st-pasha Nov 16, 2023
4d46a35
try more paths
st-pasha Nov 16, 2023
f675802
specify pat to MSVC
st-pasha Nov 16, 2023
1d0a94f
try some more
st-pasha Nov 16, 2023
399609d
print msvc dir
st-pasha Nov 16, 2023
b950b2b
show github context
st-pasha Nov 16, 2023
f6a589a
better search for cl.exe
st-pasha Nov 16, 2023
0a64dd8
use Optional
st-pasha Nov 16, 2023
51031c5
fix environment vars script
st-pasha Nov 16, 2023
68c0577
format compiler.py
st-pasha Nov 16, 2023
2399a37
fix get_thread_ids() function for 3.12
st-pasha Nov 16, 2023
f248a8c
fix segfault when emitting log messages from fread
st-pasha Nov 21, 2023
e02bb55
Fix bad tests for Ftrl/Linear Model
st-pasha Nov 21, 2023
8e0c6b1
Fix crash in dt_linearmodel
st-pasha Nov 21, 2023
49e56f6
fix pandas-related tests
st-pasha Nov 21, 2023
3b0ac4f
minor
st-pasha Nov 21, 2023
d3ba320
disable MSVC warning
st-pasha Nov 21, 2023
1547cf7
Update release notes
st-pasha Nov 21, 2023
1e50a35
More reliable WinSDK detection on Windows
st-pasha Nov 28, 2023
1757944
Fix crash when exporting to Arrow
st-pasha Nov 28, 2023
4a3020c
fix a compiler warning
st-pasha Nov 28, 2023
e4d4dd0
Separate setup from build jobs
st-pasha Nov 28, 2023
680e562
add a checkout step
st-pasha Nov 28, 2023
3a367e6
fix typo
st-pasha Nov 28, 2023
202d754
minor
st-pasha Nov 28, 2023
edeed0f
print environment variables in build script
st-pasha Nov 28, 2023
9ce818a
move env
st-pasha Nov 28, 2023
4813a2d
Use Optional instead of `|None`
st-pasha Nov 28, 2023
5ccf6d0
split into more steps
st-pasha Nov 28, 2023
ab1cf6b
try to fix msvc pragma
st-pasha Nov 28, 2023
dcf2629
Remove Appveyor script
st-pasha Nov 28, 2023
b8198cc
Fix build script
st-pasha Nov 28, 2023
3a13023
Added steps for building on python 3.10 and 3.11
st-pasha Nov 28, 2023
d0cc5cb
restore __pragma
st-pasha Nov 28, 2023
16b9231
update step names
st-pasha Nov 28, 2023
4884989
Add a linux and macos steps
st-pasha Nov 28, 2023
a1a09c7
disable macos step for now
st-pasha Nov 28, 2023
a4014f2
add more build steps for macos
st-pasha Nov 28, 2023
c82fca3
Remove PPC64 from Jenkinsfile
st-pasha Nov 28, 2023
28ce5e0
Use actions/upload-artifact@v3
st-pasha Nov 28, 2023
954cf50
temporily enable macos-311
st-pasha Nov 28, 2023
a376cab
Add all steps for linux
st-pasha Nov 28, 2023
358ef17
prevent crash when converting to arrow
st-pasha Nov 29, 2023
645d4b6
rename the build script
st-pasha Nov 29, 2023
7a37908
build sdist step
st-pasha Nov 29, 2023
382deee
build with audit on linux
st-pasha Nov 29, 2023
bfbf647
remove Jenkins build file
st-pasha Nov 29, 2023
624bf06
Update the changelog
st-pasha Nov 29, 2023
e96d0de
Enable all build branches
st-pasha Nov 29, 2023
a68126b
quote python versions
st-pasha Nov 29, 2023
bb564d6
Use github version of auditwheel on python3.12
st-pasha Nov 29, 2023
e2e6ac4
Disable windows-3.12 build for now
st-pasha Nov 29, 2023
7da5a90
rename CHANGE_BRANCH -> DT_CHANGE_BRANCH
st-pasha Nov 29, 2023
6949182
Provide DT_CHANGE_BRANCH in the build script
st-pasha Nov 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use Optional instead of |None
  • Loading branch information
st-pasha committed Nov 28, 2023
commit 4813a2d97bb8b0dc034dd22d3916a9dc14e78a17
9 changes: 6 additions & 3 deletions ci/ext.py
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@
import sys
import textwrap
import time
from typing import Optional
import xbuild


@@ -86,13 +87,14 @@ def is_source_distribution():
# - In all other cases (local build), the final version consists of
# of `VERSION.txt` "0+" [buildmode "."] timestamp ["." username].
#
def get_datatable_version(flavor=None):
def get_datatable_version(flavor: Optional[str] = None) -> str:
build_mode = "release" if os.environ.get("DT_RELEASE") else \
"PR" if os.environ.get("DT_BUILD_SUFFIX") else \
"dev" if os.environ.get("DT_BUILD_NUMBER") else \
"sdist" if is_source_distribution() else \
"local"

version = ""
if build_mode != "sdist":
if not os.path.exists("VERSION.txt"):
raise SystemExit("File VERSION.txt is missing when building "
@@ -115,7 +117,7 @@ def get_datatable_version(flavor=None):

# In PR mode, the version is appended with DT_BUILD_SUFFIX
if build_mode == "PR":
suffix = os.environ.get("DT_BUILD_SUFFIX")
suffix = os.environ.get("DT_BUILD_SUFFIX", "")
if not re.fullmatch(r"\w([\w\.]*\w)?", suffix):
raise SystemExit("Invalid build suffix `%s` from environment "
"variable DT_BUILD_SUFFIX" % suffix)
@@ -132,7 +134,7 @@ def get_datatable_version(flavor=None):

# In "main-dev" mode, the DT_BUILD_NUMBER is used
if build_mode == "dev":
build = os.environ.get("DT_BUILD_NUMBER")
build = os.environ.get("DT_BUILD_NUMBER", "")
if not re.fullmatch(r"\d+", build):
raise SystemExit("Invalid build number `%s` from environment "
"variable DT_BUILD_NUMBER" % build)
@@ -164,6 +166,7 @@ def get_datatable_version(flavor=None):
version += "." + user
return version

return "unknown"


def _get_version_from_build_info():
9 changes: 5 additions & 4 deletions ci/xbuild/logger.py
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
# IN THE SOFTWARE.
#-------------------------------------------------------------------------------
import re
from typing import Optional


#-------------------------------------------------------------------------------
@@ -85,8 +86,8 @@ def step_load_state(self, filename): pass
def step_scan_files(self, n): pass
def step_src2obj(self): pass

def warn(self, msg: str, indent: str | None = None): pass
def info(self, msg: str, indent: str | None = None): pass
def warn(self, msg: str, indent: Optional[str] = None): pass
def info(self, msg: str, indent: Optional[str] = None): pass

def report_errors_and_warnings(self, msgs, errors=False):
if msgs:
@@ -202,7 +203,7 @@ def step_compile(self, files):



def info(self, msg: str, indent: str | None = None):
def info(self, msg: str, indent: Optional[str] = None):
if indent is None:
indent = self._indent
msg = re.sub(r"`([^`]*)`", "\x1B[1;97m\\1\x1B[0;90m", msg)
@@ -435,7 +436,7 @@ def step_src2obj(self):



def info(self, msg: str, indent: str | None = None):
def info(self, msg: str, indent: Optional[str] = None):
if indent is None:
indent = self._indent
msg = re.sub(r"`([^`]*)`", "\x1B[1;97m\\1\x1B[0;90m", msg)
Loading