summaryrefslogtreecommitdiff
path: root/test-requirements.txt
Commit message (Collapse)AuthorAgeFilesLines
* Stop explicitly requiring pycodestyleStephen Finucane2019-10-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pip doesn't have a dependency resolver. Instead, it "simply uses the first specification it finds for a project." [1] In Train, keystone switched from hacking 0.12.x/0.13.x to hacking 1.1.x [2]. That change explicitly added a pycodestyle dependency for reasons that aren't entirely clear to me, but pip's broken dependency resolution leads to the below funkiness when trying to install the dependencies. ERROR: flake8 2.6.2 has requirement pycodestyle<2.1,>=2.0, but you'll have pycodestyle 2.5.0 which is incompatible. As seen below, this can be easily reproduced and seems to happen because pip doesn't go further than one level of dependencies, meaning it knows about the dependency on flake8<2.7.0,>=2.6.0 from hacking, but not the dependency on pycodestyle<2.1,>=2.0 that this in-turn introduces. $ virtualenv venv $ source venv/bin/activate $ (venv) cat requirements.txt hacking>=1.1.0,<1.2.0 # Apache-2.0 pycodestyle>=2.0.0 # MIT License $ pip install -r requirements-new.txt Collecting hacking<1.2.0,>=1.1.0 Using cached ... Collecting pycodestyle>=2.0.0 Using cached ... Collecting six>=1.10.0 Using cached ... Collecting flake8<2.7.0,>=2.6.0 Using cached ... Collecting pbr!=2.1.0,>=2.0.0 Using cached ... Collecting mccabe<0.6,>=0.2.1 Using cached ... Collecting pyflakes!=1.2.0,!=1.2.1,!=1.2.2,<1.3,>=0.8.1 Using cached ... ERROR: flake8 2.6.2 has requirement pycodestyle<2.1,>=2.0, but you'll have pycodestyle 2.5.0 which is incompatible. Installing collected packages: six, pycodestyle, mccabe, pyflakes, flake8, pbr, hacking Successfully installed flake8-2.6.2 hacking-1.1.0 mccabe-0.5.3 pbr-5.4.3 pycodestyle-2.5.0 pyflakes-1.2.3 six-1.12.0 The solution is simple: stop explicitly requiring this dependency and instead rely on flake8 bringing it in. [1] https://pip.pypa.io/en/stable/user_guide/#requirements-files [2] I3fc591e09c1e25a3bd2a3922880772ea9617f1e3 Change-Id: Ic0991d3eeae018609be0ecbd43fa0b0b9f13d6ba Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Use pycodestyle in place of pep8wangxiyuan2018-11-201-1/+2
| | | | | | | | | | | The lower version of pycodestyle lib (aliased to pep8) doesn't work for py36 env. This commit unblocks the py36 gate by adding a dependency on pycodestyle and using that for style checks. Bump the "hacking" lib version to v1.1.0 which depends on a higher verion of pycodestyle. Change-Id: I3fc591e09c1e25a3bd2a3922880772ea9617f1e3
* Follow the new PTI for document buildNguyen Hai2018-04-091-3/+0
| | | | | | | | | | | | | - Follow new PTI for docs build - Add sphinxcontrib.apidoc to replace pbr autodoc REF: https://governance.openstack.org/tc/reference/project-testing-interface.html http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html Depends-On: https://review.openstack.org/#/c/559334/ Change-Id: I1d5f01cf49f36567f5a891c69c7269d3e966b9c5
* Updated from global requirementsOpenStack Proposal Bot2018-01-171-1/+1
| | | | Change-Id: I399e08cbd0d5fa519bd0a1995d61cbda340f34bb
* Create doc/requirements.txtqinglin.cheng2017-12-191-6/+1
| | | | | | | | | | | | For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html Refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html Change-Id: Ic05a55fb14741bb0802c217c81b0035b6e1f7de2
* Updated from global requirementsOpenStack Proposal Bot2017-11-161-2/+2
| | | | Change-Id: I508ab26c6537104b1783f6653f04d85d885ef9d2
* Merge "Migrate to stestr"Jenkins2017-09-271-2/+1
|\
| * Migrate to stestrGage Hugo2017-09-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | With the latests changes to os-testr[0] it now expects a .stestr.conf file instead of a .testr.conf file. This change migrates the testing suite from using testr to use stestr instead. [0] http://lists.openstack.org/pipermail/openstack-dev/2017-September/122135.html Change-Id: Ie0de862f2192491fa7752af03c8c03b3ee36337a
* | Updated from global requirementsOpenStack Proposal Bot2017-09-221-7/+7
|/ | | | Change-Id: I3e5bb988ef2dfe93442cb5eada086313d22d5857
* Updated from global requirementsOpenStack Proposal Bot2017-08-241-2/+2
| | | | Change-Id: I1e451ebff88a14928fe7d4014a837e11dfb91f6d
* Add int storage of datetime for password created/expiresMorgan Fainberg2017-08-151-0/+1
| | | | | | | | | | | | | Due to MySQL (in some versions) not storing datetime resolution below one second, keystone occasionally ends up with weird behavior such as a New password not being valid. The password created at and expires at columns now store both datetime (for rolling upgrades) and integers. Keystone from Pike and beyond leans on the new created_at_int column and expires_at_int column. Change-Id: I2c219b4b9b353f1e2cce6088849a773196f0e443 Closes-Bug: #1702211
* Updated from global requirementsOpenStack Proposal Bot2017-07-271-1/+1
| | | | Change-Id: Ic299eb548c5ed15b68bb1b8204c32f520e25ed74
* Updated from global requirementsOpenStack Proposal Bot2017-07-141-2/+2
| | | | Change-Id: Ic82aba8fccf07930897dd51220185423cacbf3ea
* Switch from oslosphinx to openstackdocsthemeVan Hung Pham2017-06-301-1/+0
| | | | | | | | | As part of the docs migration work[0] for Pike we need to switch to use the openstackdocstheme. [0]https://review.openstack.org/#/c/472275/ Change-Id: I31543b78a1b2d2df685e295d4d011c5e6e4a165b
* Updated from global requirementsOpenStack Proposal Bot2017-06-271-2/+2
| | | | Change-Id: I0f3ce33f7f60b3e9f5588a9b69cd29bb6fd40e74
* Updated the keystone docs to follow the docs themeSamriddhi2017-06-221-0/+1
| | | | | | | | | Changed the existing keystone documenatation html theme to the new openstackdocstheme. For reference, the same theme is being used here, https://docs.openstack.org/admin-guide/. Closes-Bug: #1692031 Change-Id: Ibf1b018e8ed38afa04d02ab033762d6b0ceab89b
* Updated from global requirementsOpenStack Proposal Bot2017-06-191-1/+1
| | | | Change-Id: Ieb62c4ff2d830609bdb73e6f1264262d9d6a7d01
* Updated from global requirementsOpenStack Proposal Bot2017-06-101-1/+1
| | | | Change-Id: I69d68ca86c1ed1520491f92ef3c3a9bf1421137d
* Updated from global requirementsOpenStack Proposal Bot2017-06-031-1/+1
| | | | Change-Id: Ib313761ed93a2e60cb5d3dc4e654724b70ba1332
* Updated from global requirementsOpenStack Proposal Bot2017-05-241-1/+1
| | | | Change-Id: I327a89635e2472a90fb57769d06190c4f7640fe7
* Updated from global requirementsOpenStack Proposal Bot2017-05-171-1/+1
| | | | Change-Id: I537f5ba3bdef64abfee3857d1d7c9a559960a119
* Updated from global requirementsOpenStack Proposal Bot2017-05-151-1/+1
| | | | Change-Id: I074fab11f1a7167a3c7ec9b759f6fc3ba4489d03
* Updated from global requirementsOpenStack Proposal Bot2017-03-301-1/+1
| | | | Change-Id: Ie4de66c0f67a73741dc80e680fcd27e710c1b5e0
* Updated from global requirementsOpenStack Proposal Bot2017-02-191-3/+3
| | | | Change-Id: Ibe3650732dab999ed2f07dc6c949f197a0d4a38c
* Update hacking versionxurong000379972017-02-041-1/+1
| | | | Change-Id: I4369dd138129052a48a0babe212610576a67a47d
* Updated from global requirementsOpenStack Proposal Bot2017-01-021-1/+1
| | | | Change-Id: I3ce564d414caef55e812b7c7624a2e87c211b6d8
* Updated from global requirementsOpenStack Proposal Bot2016-12-231-2/+2
| | | | Change-Id: I916a8456da4bc5c6db4ce66946ff09f58b36b692
* Updated from global requirementsOpenStack Proposal Bot2016-12-021-1/+1
| | | | Change-Id: I65c524c3cf3debc29e0923490805c6a2ec9bf85c
* Updated from global requirementsOpenStack Proposal Bot2016-11-141-1/+1
| | | | Change-Id: I4be320de402c5df9de51d9115fdd8a7c5615100b
* Updated from global requirementsOpenStack Proposal Bot2016-11-081-1/+1
| | | | Change-Id: Ie9e0b75a96d352961815aabdd9607feb12946b7a
* Updated from global requirementsOpenStack Proposal Bot2016-11-021-1/+1
| | | | Change-Id: I52096766a9c07eab147db2557ca09cfff60b3e0a
* Updated from global requirementsOpenStack Proposal Bot2016-10-221-1/+1
| | | | Change-Id: Ib83632b8112ef5caea285301f5f96b5451d81000
* Updated from global requirementsOpenStack Proposal Bot2016-09-301-1/+1
| | | | Change-Id: I765656deac29b3bfd8f4a82d00bffbb2c6478fb1
* Updated from global requirementsOpenStack Proposal Bot2016-09-281-1/+1
| | | | Change-Id: Id638c4c2baba3f3a1d8e3526b07418067d045a89
* Updated from global requirementsOpenStack Proposal Bot2016-09-271-1/+1
| | | | Change-Id: I4119653386091e32572573adf02b37a83d158654
* Updated from global requirementsOpenStack Proposal Bot2016-09-091-1/+1
| | | | Change-Id: I2bad9b39ed9ad4995e14e1c253abb3f8cbac9267
* Updated from global requirementsOpenStack Proposal Bot2016-08-261-1/+1
| | | | Change-Id: Ide788aaad730825c14d7adf5a7305796fb9228e2
* Remove mox from test-requirementsMatthew Treinish2016-08-241-4/+0
| | | | | | | The requirement is not used anywhere and commented out, lets just remove it. There is no reason to keep it in there. Change-Id: I1da227911d04de4d9baadb92db324ce8590060e7
* Updated from global requirementsOpenStack Proposal Bot2016-08-121-1/+1
| | | | Change-Id: I326f00a4876a26b1a53285dfbcee4add54dcd7ff
* Updated from global requirementsOpenStack Proposal Bot2016-08-091-1/+1
| | | | Change-Id: I9531301d14942dfc5e33ca58a93908987e56222c
* Updated from global requirementsOpenStack Proposal Bot2016-07-191-1/+1
| | | | Change-Id: I652cc271d0b7affb9d62e0d7bf6a5240a2790b8e
* Use freezegun to increment the clock in test_v3_filtersLance Bragstad2016-07-181-0/+1
| | | | | | | | | | | | | | | | | In preparation for making Fernet the default token provider, we must freeze and increment the clock in certain tests. This is because Fernet does not support sub-second precision and if a Fernet token is validated in the same second that a revocation event has occured, it will be considered invalid. This commit makes it so that we freeze the clock in test_list_users_filtered_by_funny_name() and increment it by one second when we go to list users by name. This fix was originally a part of https://review.openstack.org/#/c/258650 but this is an attempt to break 258650 into smaller, more reviewable, pieces. Partial-Bug: 1561054 Change-Id: I3ea4af702e6914775156c605799992a41e8e75c5
* Updated from global requirementsOpenStack Proposal Bot2016-07-011-1/+1
| | | | Change-Id: I57c6e621f91936697c1827622406851b33cf6204
* Updated from global requirementsOpenStack Proposal Bot2016-06-241-1/+1
| | | | Change-Id: Iee5ddacf58d80c8a36ae2048945c24de385456cd
* Updated from global requirementsOpenStack Proposal Bot2016-06-211-1/+1
| | | | Change-Id: I8e22c149489659485d41b7b679c64015b4f90c01
* Updated from global requirementsOpenStack Proposal Bot2016-06-031-1/+1
| | | | Change-Id: I86bc72105f59e0374d023e6310d78344c4713bc5
* Updated from global requirementsOpenStack Proposal Bot2016-06-021-1/+1
| | | | Change-Id: I7d7b5d3021044394146dba6422b1c0550606cd4b
* Updated from global requirementsOpenStack Proposal Bot2016-05-261-1/+1
| | | | Change-Id: Id37a397a08de99a05720f3a5bd9571f3d7647994
* Migrate identity /v3 docs from api-ref repoSamuel de Medeiros Queiroz2016-05-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docs at [1] have already been converted from WADL (SGML / XML) to RST using fairy-slipper [2]. This commit polish the results from the conversion and migrate the docs to our repository under 'api-ref/source' directory. In addition, it added missing descriptions for access_token_id and consumer_id to 'parameters.yaml'. Polishing the generated RST files include: - Removing unnecessary blank lines; - Removing empty references. Polishing the generated RST files do not include: - Modifying their content; - Modifying file names; - Wrapping lines at the maximum of 79 chars. Updating the documentation will be done after this migration step. This change also adds a tox environment to build the docs using sphinx under 'api-ref/build', which in turn is added to '.gitignore'. Lastly, 'os-api-ref' is added as a test requirement. It provides the sphinx stanzas rest_method and rest_parameter, used to define OpenStack APIs in RST docs. [1] https://github.com/openstack/api-site/tree/master/api-ref/source/identity/v3 [2] https://github.com/russell/fairy-slipper Change-Id: If1b9a3e1b2e4ea7211c337071254c26b881893a3
* Updated from global requirementsOpenStack Proposal Bot2016-05-181-1/+1
| | | | Change-Id: Ic162a4ed28f2280de63a6ae1bcaac424a5badeb2