Thanks for getting this set as a branch with a single relevant commit. However, you still need to run the test suite with the upgraded package installed. I have gotten a test failure due to the upgraded package.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Dave, Can you please let me know where the test fails , because when I run the test suite I didn't get any test failure. Every test suite run fine in my environment.
Are you using python3 or python2.7 as environment ? because I run the test suite in python2.7 and there was no failure.
Last edit: Abhishek Chaudhary 2019-03-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The test that failed is allura.tests.test_helpers.test_ago but the real issue is that you aren't getting the test failures. What command are you using to run the test suite? And what command to install updated packages? You need to make sure they both are in the same allura virtualenv (within docker if using docker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using docker. For running test suite "docker-compose run web ./run_tests" & for updating packages "docker-compose run web pip install -r requirements.txt " .
I have an issue about updating Ubuntu to 18.04 , it is not totally supported by docker.
After using "docker-compose build" , It raises issues in when I try "docker-compose run web scripts/init-docker-dev.sh" and in other docker commands. Please check it once.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, those commands are right. I ran them and the package was installed, and the test failure happens as it should.
So something else must be going wrong. Maybe your change to requirements.txt isn't automatically shared into the docker container? Or something else? I don't know. But you can check to see what is installed with docker-compose run web pip freeze | grep python-dateutil and see what version is installed.
I haven't had any problems with Ubuntu 18.04 in docker. Are you doing a fresh start with all your docker images and containers removed? That might be necessary. Otherwise, what is the error? Maybe start a new email thread about that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I try to fresh build the code and install python and JS packages , there is the error.
There is some files which is not properly imported. I raised the thread.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for getting this set as a branch with a single relevant commit. However, you still need to run the test suite with the upgraded package installed. I have gotten a test failure due to the upgraded package.
Hello Dave, Can you please let me know where the test fails , because when I run the test suite I didn't get any test failure. Every test suite run fine in my environment.
Are you using python3 or python2.7 as environment ? because I run the test suite in python2.7 and there was no failure.
Last edit: Abhishek Chaudhary 2019-03-27
The test that failed is
allura.tests.test_helpers.test_ago
but the real issue is that you aren't getting the test failures. What command are you using to run the test suite? And what command to install updated packages? You need to make sure they both are in the same allura virtualenv (within docker if using docker).I am using docker. For running test suite "docker-compose run web ./run_tests" & for updating packages "docker-compose run web pip install -r requirements.txt " .
I have an issue about updating Ubuntu to 18.04 , it is not totally supported by docker.
After using "docker-compose build" , It raises issues in when I try "docker-compose run web scripts/init-docker-dev.sh" and in other docker commands. Please check it once.
Ok, those commands are right. I ran them and the package was installed, and the test failure happens as it should.
So something else must be going wrong. Maybe your change to requirements.txt isn't automatically shared into the docker container? Or something else? I don't know. But you can check to see what is installed with
docker-compose run web pip freeze | grep python-dateutil
and see what version is installed.I haven't had any problems with Ubuntu 18.04 in docker. Are you doing a fresh start with all your docker images and containers removed? That might be necessary. Otherwise, what is the error? Maybe start a new email thread about that.
When I try to fresh build the code and install python and JS packages , there is the error.
There is some files which is not properly imported. I raised the thread.