International audienceWe present a comprehensive analysis of weak gravitational lensing by large-scale structure in the Hubble Space Telescope Cosmic Evolution Survey (COSMOS), in which we combine space-based galaxy shape measurements with ground-based photometric redshifts to study the redshift dependence of the lensing signal and constrain cosmological parameters. After applying our weak lensing-optimized data reduction, principal-component interpolation for the spatially, and temporally varying ACS point-spread function, and improved modelling of charge-transfer inefficiency, we measured a lensing signal that is consistent with pure gravitational modes and no significant shape systematics. We carefully estimated the statistical uncertain...