Skip to content

Commit

Permalink
[2.4.0] Release branch cut. (#7738)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbalin committed Aug 29, 2024
1 parent 647d8ea commit c6c874b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conda/dgl/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: dgl{{ environ.get('DGL_PACKAGE_SUFFIX', '') }}
version: 2.4{{ environ.get('DGL_VERSION_SUFFIX', '') }}
version: 2.4.0{{ environ.get('DGL_VERSION_SUFFIX', '') }}

source:
git_rev: {{ environ.get('DGL_RELEASE_BRANCH', 'master') }}
Expand Down
2 changes: 1 addition & 1 deletion include/dgl/runtime/c_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#endif

// DGL version
#define DGL_VERSION "2.4"
#define DGL_VERSION "2.4.0"

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion python/dgl/_ffi/libinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ def find_lib_path(name=None, search_path=None, optional=False):
# We use the version of the incoming release for code
# that is under development.
# The following line is set by dgl/python/update_version.py
__version__ = "2.4"
__version__ = "2.4.0"
1 change: 1 addition & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def get_lib_file_path(lib_name, backend=""):
"requests>=2.19.0",
"scipy>=1.1.0",
"tqdm",
"torch<=2.4.0",
]

setup(
Expand Down
2 changes: 1 addition & 1 deletion python/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# (usually "aYYMMDD")
# The environment variable DGL_VERSION_SUFFIX is the local version label
# suffix for indicating CPU and CUDA versions as in PEP 440 (e.g. "+cu102")
__version__ = "2.4" + os.getenv("DGL_PRERELEASE", "")
__version__ = "2.4.0" + os.getenv("DGL_PRERELEASE", "")
__version__ += os.getenv("DGL_VERSION_SUFFIX", "")
print(__version__)

Expand Down

0 comments on commit c6c874b

Please sign in to comment.