New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue/5814 fix python_requires with short_paths enabled #5841
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* apply graph_lock before looking for overrides * first step: get rid of the warning * cleaner if graph_lock is passed to the function * only update requires upstream if no lockfile is applied * fix tests
…onan-io#5756) * if CONAN_USERNAME and CONAN_CHANNEL are deprecated, the error cannot recommend them * update tests accordingly
* no user/channel repr without _ * minor fixes * fix tests
* Refresh token client support. Missing tests. Missing migration * public method * WIP * Refresh almost there * Removed prints * Try migrate * Migration * Add comment * Refresh token flow following RFC recommentations * Refresh ok * review * Remove traces * Refactor capabilities * Removed tmp file * Review
* conan-io#5819 Show warning message for Python 3.4 - Add new warning message for python 3.4 which is no longer supported - Added funcional tests to validate both python 3.4 and 2.x Signed-off-by: Uilian Ries <uilianries@gmail.com> * conan-io#5819 Fix broken tests Signed-off-by: Uilian Ries <uilianries@gmail.com>
* Add cpp_info.name to cmake generators * Fix unit tests to mimic real behavior * cmake_paths test * add test for cmake generator * Add cmake_find_package test * fix test in py3 * Applied cpp_info.name to pkg_config generator * check different name in pkg_config
memsharded
requested changes
Sep 30, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test too :)
memsharded
requested changes
Sep 30, 2019
memsharded
pushed a commit
to memsharded/conan
that referenced
this pull request
Oct 2, 2019
* Added required = True to subparsers in order to print error message in Py2 and Py3. * sync * basic concurrent upload at reference level with futures * revert changes * add line * Lock buggy urllib3 (conan-io#5808) * app simplifying (conan-io#5806) * Apply lockfile before updating downstream requires (conan-io#5771) * apply graph_lock before looking for overrides * first step: get rid of the warning * cleaner if graph_lock is passed to the function * only update requires upstream if no lockfile is applied * fix tests * Deprecation of CONAN_USERNAME and CONAN_CHANNEL: fix error message (conan-io#5756) * if CONAN_USERNAME and CONAN_CHANNEL are deprecated, the error cannot recommend them * update tests accordingly * test client load() file method (conan-io#5815) * no user/channel repr without _ (conan-io#5817) * no user/channel repr without _ * minor fixes * fix tests * Remove py34 (conan-io#5820) * fix upload package id (conan-io#5824) * - update macOS, watchOS, tvOS, iOS version numbers (conan-io#5823) * Refresh token client support. (conan-io#5662) * Refresh token client support. Missing tests. Missing migration * public method * WIP * Refresh almost there * Removed prints * Try migrate * Migration * Add comment * Refresh token flow following RFC recommentations * Refresh ok * review * Remove traces * Refactor capabilities * Removed tmp file * Review * conan-io#5819 Show warning message for Python 3.4 (conan-io#5829) * conan-io#5819 Show warning message for Python 3.4 - Add new warning message for python 3.4 which is no longer supported - Added funcional tests to validate both python 3.4 and 2.x Signed-off-by: Uilian Ries <uilianries@gmail.com> * conan-io#5819 Fix broken tests Signed-off-by: Uilian Ries <uilianries@gmail.com> * Add cpp_info.name to cmake and pkg_config generators (conan-io#5598) * Add cpp_info.name to cmake generators * Fix unit tests to mimic real behavior * cmake_paths test * add test for cmake generator * Add cmake_find_package test * fix test in py3 * Applied cpp_info.name to pkg_config generator * check different name in pkg_config * use pyreq short path if exists * sync with develop * revert change * pass correct conanfile * add test * remove line * clean test
lasote
pushed a commit
that referenced
this pull request
Oct 3, 2019
* refactor GraphBinariesAnalyzer * 1.19.0 release * 1.20.0-dev * Issue/5814 fix python_requires with short_paths enabled (#5841) * Added required = True to subparsers in order to print error message in Py2 and Py3. * sync * basic concurrent upload at reference level with futures * revert changes * add line * Lock buggy urllib3 (#5808) * app simplifying (#5806) * Apply lockfile before updating downstream requires (#5771) * apply graph_lock before looking for overrides * first step: get rid of the warning * cleaner if graph_lock is passed to the function * only update requires upstream if no lockfile is applied * fix tests * Deprecation of CONAN_USERNAME and CONAN_CHANNEL: fix error message (#5756) * if CONAN_USERNAME and CONAN_CHANNEL are deprecated, the error cannot recommend them * update tests accordingly * test client load() file method (#5815) * no user/channel repr without _ (#5817) * no user/channel repr without _ * minor fixes * fix tests * Remove py34 (#5820) * fix upload package id (#5824) * - update macOS, watchOS, tvOS, iOS version numbers (#5823) * Refresh token client support. (#5662) * Refresh token client support. Missing tests. Missing migration * public method * WIP * Refresh almost there * Removed prints * Try migrate * Migration * Add comment * Refresh token flow following RFC recommentations * Refresh ok * review * Remove traces * Refactor capabilities * Removed tmp file * Review * #5819 Show warning message for Python 3.4 (#5829) * #5819 Show warning message for Python 3.4 - Add new warning message for python 3.4 which is no longer supported - Added funcional tests to validate both python 3.4 and 2.x Signed-off-by: Uilian Ries <uilianries@gmail.com> * #5819 Fix broken tests Signed-off-by: Uilian Ries <uilianries@gmail.com> * Add cpp_info.name to cmake and pkg_config generators (#5598) * Add cpp_info.name to cmake generators * Fix unit tests to mimic real behavior * cmake_paths test * add test for cmake generator * Add cmake_find_package test * fix test in py3 * Applied cpp_info.name to pkg_config generator * check different name in pkg_config * use pyreq short path if exists * sync with develop * revert change * pass correct conanfile * add test * remove line * clean test * Feature/remote enable error handling (#5835) * Add a test * Raise an error if no remote found * Check that we don't raise an error if the state is already in the required state * Raise an error only if the remote name is not a wildcard * Check that we don't raise an error with a wildcard if there are no remotes * Removed go test files and references to golang from README (#5854) * Removed go test files and references to golang from README * Removed golang from README * making GraphBinaryAnalyzer injectable
jgsogo
pushed a commit
that referenced
this pull request
Oct 16, 2019
* remotes to metadata * WIP * layout of dev * wip * Removed versions * working but not tested * local * Local, package failing because of none timestamp in PREV * WIP * search tests ok * Fixing tests and small refactor * renamed module * review * ISO in client, reviewed * Fixing tests * Fixing tests * New tests about metadata being updated * Review * Time cleared on export/package * Fix revisions list * fixed test * Unused import * WIP * Review * Fixed test message assert * Use env var instead of test client * Cool testing framework and a lot of remove with revisions tests * Remove tests revisions * Drafting tests * Test passing, a lot missing yet * PENDING MANY TESTS * some more tests * Pending many tests * Added more tests * No revisions tests passing * make BinariesAnalyzer the one responsible for the IDs * remove build mode check * Tests passing, only about 10 to complete * changing how binary IDs are computed * fixing tests * refactoring tests * binary ID belongs to graph Node * working in graph * Finished tests * Upload package id not reference * One more test * SVN test * IOError * Fixing tests * Fixing windows test with export package and package revisions * Fixed test * Pending migration * Migration OK * working... * renaming conan->recipe * Revisioning the revisions pull request * CONAN_REVISIONS_ENABLED * WIP * Safer migration * No revisions test * V2 WIP * WIP * Review * working except full_requires test broken * WIP * Rest routes * working.... * working on it, very bad state * Refactor routes * Passing wihout revisions * Removed time from metadata * working but ConanInfo.full_requires test * Passing tests * Fixed more tests * binary analyzer refactor * Self review * Imports * small optimization of set_dirty(package_folder) * Fixed rest api test * Fixed slows * Fixed py2 issue with exception translation with http codes * rest api prepared revisions * new graph builder * working * fixed test * Dani and Diego review * tests passing * Fixing tests * working * Review * Imports * working... * renamed bid->package_id * import and comment * renamed test * tests passing * changes * removed prints * moving tests * improving tests * new tests * fixed py3 * working * package-ID modes * fixing tests * fixing build_id test * cleaning * full test of package_id_mode * package_id config modes * fixing things * working * getting there... * tests passing but RegistryTest and RemoteTest * python requires updates * fixed test with time.sleep() * working * adding definition of remotes too * working in dumps, new remotes.txt file? * tests passing missing file format * fixing tests * working * remove simple paths * remove simple paths * renames * removed print * abs_path for CONAN_USER_HOME too * fix storage_path * working, not ready for review * working... * working.. * working... * review and migrations for conan-config-install * fix test * fix error * first draft ready * added build-requires (forced for Unknown) capability * refactor GraphBinariesAnalyzer * fixing things * allowing updating lock for PACKAGE_ID_UNKNOWN * 1.19.0 release * 1.20.0-dev * Issue/5814 fix python_requires with short_paths enabled (#5841) * Added required = True to subparsers in order to print error message in Py2 and Py3. * sync * basic concurrent upload at reference level with futures * revert changes * add line * Lock buggy urllib3 (#5808) * app simplifying (#5806) * Apply lockfile before updating downstream requires (#5771) * apply graph_lock before looking for overrides * first step: get rid of the warning * cleaner if graph_lock is passed to the function * only update requires upstream if no lockfile is applied * fix tests * Deprecation of CONAN_USERNAME and CONAN_CHANNEL: fix error message (#5756) * if CONAN_USERNAME and CONAN_CHANNEL are deprecated, the error cannot recommend them * update tests accordingly * test client load() file method (#5815) * no user/channel repr without _ (#5817) * no user/channel repr without _ * minor fixes * fix tests * Remove py34 (#5820) * fix upload package id (#5824) * - update macOS, watchOS, tvOS, iOS version numbers (#5823) * Refresh token client support. (#5662) * Refresh token client support. Missing tests. Missing migration * public method * WIP * Refresh almost there * Removed prints * Try migrate * Migration * Add comment * Refresh token flow following RFC recommentations * Refresh ok * review * Remove traces * Refactor capabilities * Removed tmp file * Review * #5819 Show warning message for Python 3.4 (#5829) * #5819 Show warning message for Python 3.4 - Add new warning message for python 3.4 which is no longer supported - Added funcional tests to validate both python 3.4 and 2.x Signed-off-by: Uilian Ries <uilianries@gmail.com> * #5819 Fix broken tests Signed-off-by: Uilian Ries <uilianries@gmail.com> * Add cpp_info.name to cmake and pkg_config generators (#5598) * Add cpp_info.name to cmake generators * Fix unit tests to mimic real behavior * cmake_paths test * add test for cmake generator * Add cmake_find_package test * fix test in py3 * Applied cpp_info.name to pkg_config generator * check different name in pkg_config * use pyreq short path if exists * sync with develop * revert change * pass correct conanfile * add test * remove line * clean test * Feature/remote enable error handling (#5835) * Add a test * Raise an error if no remote found * Check that we don't raise an error if the state is already in the required state * Raise an error only if the remote name is not a wildcard * Check that we don't raise an error with a wildcard if there are no remotes * Removed go test files and references to golang from README (#5854) * Removed go test files and references to golang from README * Removed golang from README * making GraphBinaryAnalyzer injectable * merged * minor changes * different approach to recompute ID * unused import * minor code structure changes * fix test! * message and reduced test * tests with revisions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog: Bugfix: Use imported python requires'
short_path
value instead of the defined in theconanfile
that imports it.Docs: omit
Closes #5814
develop
branch, documenting this one.Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.