Skip to content
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

Added with_stem support #290

Merged
merged 6 commits into from Jul 24, 2023
Merged

Conversation

Gilthans
Copy link
Contributor

@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2022

Codecov Report

Merging #290 (998a02b) into master (b7d394f) will decrease coverage by 0.2%.
The diff coverage is 100.0%.

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #290     +/-   ##
========================================
- Coverage    93.6%   93.5%   -0.2%     
========================================
  Files          22      22             
  Lines        1507    1512      +5     
========================================
+ Hits         1412    1414      +2     
- Misses         95      98      +3     
Impacted Files Coverage Δ
cloudpathlib/cloudpath.py 91.9% <100.0%> (+0.2%) ⬆️

... and 2 files with indirect coverage changes

@pjbull
Copy link
Member

pjbull commented Nov 21, 2022

Thanks @Gilthans, could you add:

  • test
  • update methods table (you can run this script)
  • update docs with note for AnyPath that some cloudpathlib methods may only be supported on compatible Python verions
  • update HISTORY.md

@pjbull
Copy link
Member

pjbull commented Jul 22, 2023

Hi @Gilthans, would you have a chance to wrap what this PR needs? Should just be the items above after rebasing onto the latest.

@Gilthans
Copy link
Contributor Author

Sure, lost track of this PR completely!

@Gilthans
Copy link
Contributor Author

Gilthans commented Jul 23, 2023

  • update docs with note for AnyPath that some cloudpathlib methods may only be supported on compatible Python verions

Where would you envision this appearing? In the readme.md? In the class docstring?

@Gilthans
Copy link
Contributor Author

Another question: obviously tests are failing for python <3.9. Is there a way to specify that this test should only run on certain python versions?

cloudpathlib/cloudpath.py Outdated Show resolved Hide resolved
@pjbull pjbull changed the base branch from master to 290-live-tests July 24, 2023 15:46
@pjbull pjbull merged commit 4a32c68 into drivendataorg:290-live-tests Jul 24, 2023
20 of 24 checks passed
pjbull added a commit that referenced this pull request Jul 24, 2023
* Added with_stem support

* Update readme (+small fix to make_support_table)

* Added test

* Update history.md

* Fallback to trivial CPython implementation if `with_stem` is not available

* Add a clarification comment

Co-authored-by: Daniel Oriyan <gilthans@gmail.com>
msmitherdc added a commit to CRREL/cloudpathlib that referenced this pull request Nov 1, 2023
* Add "CloudPath" to possible cloud_path types (drivendataorg#342) (drivendataorg#343)

* Add "CloudPath" to possible cloud_path types (drivendataorg#342)

* Add to changelog

---------

Co-authored-by: Karol Zlot <11590960+karolzlot@users.noreply.github.com>

* Added with_stem support (drivendataorg#290) (drivendataorg#354)

* Added with_stem support

* Update readme (+small fix to make_support_table)

* Added test

* Update history.md

* Fallback to trivial CPython implementation if `with_stem` is not available

* Add a clarification comment

Co-authored-by: Daniel Oriyan <gilthans@gmail.com>

* Fix flake8 errors (drivendataorg#359)

* Fix flake8 errors

* Fix wrong comparison

* Bump codecov action version; add codecov token

---------

Co-authored-by: Jay Qi <jayqi@users.noreply.github.com>

* Update write_text to include newline variable (drivendataorg#362) (drivendataorg#363)

* Update write_text to include newline variable

* Remove old docstring link

* Update cloudpathlib/cloudpath.py with black correction

* Remove use of io module

* update HISTORY.md

Co-authored-by: Matthew Price <matthew.price23@gmail.com>

* Add support for Python 3.12 (drivendataorg#364)

* passing tests

* remove print

* make method signatures match

* Remove unused import

* ignore type errors

* ignore more type errors

* make linting and tests work on multiple py versions

* add 3.12 to CI and pyproject

* use pytest-cases fork

* More performant walk implementation

* format

* update methods

* Test walk method

* Version agnostic tests

* update tests

* Add tests

* Order agnostic walk test

* Changes

* Update changelog

* sleep for flaky test

* Sleep flaky tests

* sleepier

* implement env var for local cache dir (drivendataorg#361)

* Add contributing guidelines (drivendataorg#367)

* contributing guidelines

* Apply suggestions from code review

Co-authored-by: Katie Wetstone <46792169+klwetstone@users.noreply.github.com>

* WIP

* Contrib tweaks and PR template

* clarification

* update history typo

---------

Co-authored-by: Katie Wetstone <46792169+klwetstone@users.noreply.github.com>

* Version bump

* format with black

* ignore type checking here

* update client reference

* update

* no need to change

---------

Co-authored-by: Peter Bull <pjbull@gmail.com>
Co-authored-by: Karol Zlot <11590960+karolzlot@users.noreply.github.com>
Co-authored-by: Daniel Oriyan <gilthans@gmail.com>
Co-authored-by: Jay Qi <2721979+jayqi@users.noreply.github.com>
Co-authored-by: Jay Qi <jayqi@users.noreply.github.com>
Co-authored-by: Matthew Price <matthew.price23@gmail.com>
Co-authored-by: Peter Bull <peter@drivendata.org>
Co-authored-by: Katie Wetstone <46792169+klwetstone@users.noreply.github.com>
Co-authored-by: Michael D. Smith <michael.smith@erdc.dren.mil>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants