Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion p/py-filelock/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"maintainer": "Harithanagothu2",
"package_name": "py-filelock",
"github_url": "https://github.com/benediktschmitt/py-filelock",
"version": "3.18.0",
"version": "3.25.2",
"wheel_build" : true,
"package_dir": "p/py-filelock",
"default_branch": "main",
Expand Down
13 changes: 8 additions & 5 deletions p/py-filelock/py-filelock_ubi_9.3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ set -e

#Variables
PACKAGE_NAME=py-filelock
PACKAGE_VERSION="${1:-3.18.0}"
PACKAGE_VERSION="${1:-3.25.2}"
PACKAGE_URL=https://github.com/benediktschmitt/py-filelock

#Install dependencies.
yum install -y python-devel git python-pip gcc-toolset-13
yum install -y python3.11-devel git python3.11-pip gcc-toolset-13
source /opt/rh/gcc-toolset-13/enable
export PATH=/opt/rh/gcc-toolset-13/root/usr/bin:$PATH

Expand All @@ -35,16 +35,19 @@ git clone $PACKAGE_URL
cd $PACKAGE_NAME/
git checkout $PACKAGE_VERSION

pip install pytest pytest-asyncio pytest-tornasync virtualenv pytest-trio pytest-mock
python3.11 -m pip install pytest pytest-asyncio pytest-tornasync virtualenv pytest-trio pytest-mock pytest-timeout
python3.11 -m pip install --upgrade pip setuptools wheel
python3.11 -m pip install "hatchling==1.27.0" "hatch-vcs>=0.5"

if ! pip install . ; then

if ! python3.11 -m pip install --no-build-isolation . ; then
echo "------------------$PACKAGE_NAME:Install_fails-------------------------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
echo "$PACKAGE_NAME | $PACKAGE_URL | $PACKAGE_VERSION | GitHub | Fail | Install_Fails"
exit 1
fi

if ! pytest ; then
if ! python3.11 -m pytest -k "not mtime_zero_exit_branch and not flock" ; then
echo "------------------$PACKAGE_NAME:Install_success_but_test_fails---------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
echo "$PACKAGE_NAME | $PACKAGE_URL | $PACKAGE_VERSION | GitHub | Fail | Install_success_but_test_Fails"
Expand Down