Skip to content

Commit

Permalink
fix wheels con't
Browse files Browse the repository at this point in the history
  • Loading branch information
zhreshold committed Feb 9, 2021
1 parent fc8a158 commit 023d477
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
sudo rm ./python/dist/decord-*-linux_x86_64.whl
which python
which pip
find ./python/dist/ -type f -iname "decord*manylinux2010_x86_64.whl" -exec sh -c "zip --delete '{}' 'numpy/*' | true" \;
find ./python/dist/ -type f -iname "decord*manylinux2010_x86_64.whl" -exec sh -c "zip --delete '{}' 'pip/*' | true" \;
sudo find ./python/dist/ -type f -iname "decord*manylinux2010_x86_64.whl" -exec sh -c "zip --delete '{}' 'numpy/*' | true" \;
sudo find ./python/dist/ -type f -iname "decord*manylinux2010_x86_64.whl" -exec sh -c "zip --delete '{}' 'pip/*' | true" \;
find ./python/dist/ -type f -iname "decord*manylinux2010_x86_64.whl" -exec sh -c "which python && python -m pip install '{}' --force-reinstall" \;
python -c "import decord; print(decord.__version__)"
python -m nose -v ./tests/python/unittests/test_video_reader.py
Expand Down
2 changes: 1 addition & 1 deletion include/decord/runtime/c_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#endif

// DECORD version
#define DECORD_VERSION "0.5.1"
#define DECORD_VERSION "0.5.2"


// DECORD Runtime is DLPack compatible.
Expand Down
2 changes: 1 addition & 1 deletion python/decord/_ffi/libinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,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 decord/python/update_version.py
__version__ = "0.5.1"
__version__ = "0.5.2"
2 changes: 1 addition & 1 deletion src/runtime/file_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void SaveBinaryToFile(
void SaveMetaDataToFile(
const std::string& file_name,
const std::unordered_map<std::string, FunctionInfo>& fmap) {
std::string version = "0.5.1";
std::string version = "0.5.2";
std::ofstream fs(file_name.c_str());
CHECK(!fs.fail()) << "Cannot open file " << file_name;
dmlc::JSONWriter writer(&fs);
Expand Down
2 changes: 1 addition & 1 deletion tools/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# current version
# We use the version of the incoming release for code
# that is under development
__version__ = "0.5.1"
__version__ = "0.5.2"

# Implementations
def update(file_name, pattern, repl):
Expand Down

0 comments on commit 023d477

Please sign in to comment.