Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
8873fb29
Unverified
Commit
8873fb29
authored
May 06, 2024
by
Rhett Ying
Committed by
GitHub
May 06, 2024
Browse files
[release] update version (#7373)
parent
f0213d21
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
conda/dgl/meta.yaml
conda/dgl/meta.yaml
+1
-1
include/dgl/runtime/c_runtime_api.h
include/dgl/runtime/c_runtime_api.h
+1
-1
python/dgl/_ffi/libinfo.py
python/dgl/_ffi/libinfo.py
+1
-1
python/update_version.py
python/update_version.py
+1
-1
No files found.
conda/dgl/meta.yaml
View file @
8873fb29
package
:
package
:
name
:
dgl{{ environ.get('DGL_PACKAGE_SUFFIX', '') }}
name
:
dgl{{ environ.get('DGL_PACKAGE_SUFFIX', '') }}
version
:
2.2{{ environ.get('DGL_VERSION_SUFFIX', '') }}
version
:
2.2
.0
{{ environ.get('DGL_VERSION_SUFFIX', '') }}
source
:
source
:
git_rev
:
{{
environ.get('DGL_RELEASE_BRANCH'
,
'
master'
)
}}
git_rev
:
{{
environ.get('DGL_RELEASE_BRANCH'
,
'
master'
)
}}
...
...
include/dgl/runtime/c_runtime_api.h
View file @
8873fb29
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#endif
#endif
// DGL version
// DGL version
#define DGL_VERSION "2.2"
#define DGL_VERSION "2.2
.0
"
#ifdef __cplusplus
#ifdef __cplusplus
extern
"C"
{
extern
"C"
{
...
...
python/dgl/_ffi/libinfo.py
View file @
8873fb29
...
@@ -105,4 +105,4 @@ def find_lib_path(name=None, search_path=None, optional=False):
...
@@ -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
# We use the version of the incoming release for code
# that is under development.
# that is under development.
# The following line is set by dgl/python/update_version.py
# The following line is set by dgl/python/update_version.py
__version__
=
"2.2"
__version__
=
"2.2
.0
"
python/update_version.py
View file @
8873fb29
...
@@ -16,7 +16,7 @@ import re
...
@@ -16,7 +16,7 @@ import re
# (usually "aYYMMDD")
# (usually "aYYMMDD")
# The environment variable DGL_VERSION_SUFFIX is the local version label
# 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")
# suffix for indicating CPU and CUDA versions as in PEP 440 (e.g. "+cu102")
__version__
=
"2.2"
+
os
.
getenv
(
"DGL_PRERELEASE"
,
""
)
__version__
=
"2.2
.0
"
+
os
.
getenv
(
"DGL_PRERELEASE"
,
""
)
__version__
+=
os
.
getenv
(
"DGL_VERSION_SUFFIX"
,
""
)
__version__
+=
os
.
getenv
(
"DGL_VERSION_SUFFIX"
,
""
)
print
(
__version__
)
print
(
__version__
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment