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

Issue #779 Fix deprecation warnings #850

Closed
wants to merge 2 commits into from

Conversation

thebecwar
Copy link
Contributor

Resolves #779 - Updates strings in several test files to properly escape backslashes.

@@ -71,7 +71,7 @@ def _read_project_github_hashes():
for filename in files:
path = os.path.join(dirname, filename)
with open(path) as f:
m_proj = re.match('^' + base_dir + '(.*)-rev\.txt$', path)
m_proj = re.match('^' + base_dir + '(.*)-rev\\.txt$', path)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert this particular file from this PR?
It may sound like a weird request; fbcode_builder.py is a different project internally that is coincidentally mapped here when we export to github.
It has very opionated python version requirements and navigating those on the internal side of importing this PR could be a surprising amount of work, and none of it is related to or has benefit for watchman.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a weird request at all. I reverted that file to the version in master.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wez has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@wez merged this pull request in f2b37e8.

facebook-github-bot pushed a commit that referenced this pull request Jun 1, 2024
Summary: Pull Request resolved: facebookincubator/zstrong#850

Reviewed By: markbt

Differential Revision: D58011866

fbshipit-source-id: 3c6a8443f7fd9c512837d27162a2399c21eb243c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DeprecationWarning due to invalid escape sequences
3 participants