Hello Dave, Can you tell me how to send a pull request ?
On 2019/03/06 01:34:19, Dave Brondsema <d...@brondsema.net> wrote: > Hi Abhishek, > > There are going to be many incremental steps along the path to python 3. > Upgrading BeautifulSoup to bs4 as a single step that works on the python 2.7 > codebase would be a good first step. If you have that working, it would make > a > good merge request on its own. > > Most of the python dependencies will need updates before anything can run on > python 3. Much later after that, code conversion can be attempted (the guides > mentioned on https://issues.apache.org/jira/browse/COMDEV-306 recommend > "futurize" or "modernize" rather than 2to3) > > And regarding the "Not running tests" and virtual environment error, that > isn't > surprising. You would need to make a new python 3 virtual environment and > install (updated) packages in it. > > -Dave > > On 3/5/19 2:25 PM, abhishek.15je001...@ece.iitism.ac.in wrote: > > Hello Dave, > > I am Abhishek Chaudhary , senior year undergrad at IIT, Dhanbad, India. > > As Discussed with our previous discussion on Converting Allura to Python3 . > > I read the documentation and used the given 2to3 library to update the code > > in python3. The code runs well in Python2.7 while After converting the code > > it gives an error. > > The error is : > > Not running tests for AlluraTest, since it isn't set up > > Not running tests for Allura, since it isn't set up > > Not running tests for ForgeActivity, since it isn't set up > > Not running tests for ForgeBlog, since it isn't set up > > Not running tests for ForgeChat, since it isn't set up > > Not running tests for ForgeDiscussion, since it isn't set up > > Not running tests for ForgeGit, since it isn't set up > > Not running tests for ForgeImporters, since it isn't set up > > Not running tests for ForgeLink, since it isn't set up > > Not running tests for ForgeSVN, since it isn't set up > > Not running tests for ForgeShortUrl, since it isn't set up > > Not running tests for ForgeTracker, since it isn't set up > > Not running tests for ForgeUserStats, since it isn't set up > > Not running tests for ForgeWiki, since it isn't set up > > > > I also convert BeautifulSoup Library dependancy library to bs4 in python3 > > manually. > > > > what i found error is most of running test cases follows the same virtual > > environment that is initially build in docker i.e. Python2.7 , while they > > fails when I tried to run those in Python3. > > similar error i get is: > > allura-data/virtualenv/local/lib/python2.7/site-packages/nose/loader.py" > > > > Please Guide me on further to do some work on this while upgrading the > > dependancy. > > > > > > -- > Dave Brondsema : d...@brondsema.net > http://www.brondsema.net : personal > http://www.splike.com : programming > <>< >